How to load values inside one push button to another push button?

Hi Team,
I want some of the calculated values in one push button to be used in another push button. How can i perform this action. Is it needed to load to workspace and the use it again?
All0 = [C0, V0, T1t0, P1t0, PAA0];
All = [All; All0];
C = All(:,1);
V = All(:,2);
T1t = All(:,3);
P1t = All(:,4)+All(:,5);
I want the above values to be used in another push button.
Please help me solving this.

Réponses (1)

Walter Roberson
Walter Roberson le 20 Déc 2013

2 commentaires

Radhika
Radhika le 20 Déc 2013
Modifié(e) : Radhika le 20 Déc 2013
I tried assigning
C = All(:,1);
handles.C=C;
and again tried using its value in another push button like
C=handles.C;
Its not working
I could solve it. Thanks a lot Walter

Cette question est clôturée.

Tags

Question posée :

le 20 Déc 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by