Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Radhika
Radhika 2013 年 12 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 12 月 20 日
  2 件のコメント
Radhika
Radhika 2013 年 12 月 20 日
編集済み: Radhika 2013 年 12 月 20 日
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
Radhika
Radhika 2013 年 12 月 20 日
I could solve it. Thanks a lot Walter

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by