simulink and gui across workspace

1 回表示 (過去 30 日間)
mohamed  al-asklany
mohamed al-asklany 2012 年 7 月 1 日
in simulinke model there is a "to workspace " assume its var is "sout" that i want this var "sout" identified by my gui program

採用された回答

TAB
TAB 2012 年 7 月 2 日
Simulink data from To Workspace block is always saved in Matlab base workspace. So your variable "sout" will appear in matlab base workspace after the simulation.
You can access this variable in you GUI program (or in any other) function using
data = evalin('base','sout');
Using this, values in "sout" from base workspace will be copied in variable "data".
  9 件のコメント
TAB
TAB 2012 年 7 月 5 日
What another thing you are running in your GUI ?
mohamed  al-asklany
mohamed al-asklany 2013 年 7 月 17 日
antenna radar scope contain order pause(.05)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by