フィルターのクリア

Matlab workspace variable in base workspace.

1 回表示 (過去 30 日間)
Thulasi Durai Durai Samy
Thulasi Durai Durai Samy 2012 年 7 月 9 日
Hello
I had created some variables in GUI, if i give breakpoint in the function I could able to access these variables, but other wise I cannot access these variables, actually where these variables available. Can I see them in base workspace.
Can some body help me.

回答 (1 件)

Image Analyst
Image Analyst 2012 年 7 月 9 日
編集済み: Image Analyst 2012 年 7 月 9 日
Why do you need to see them in the base workspace? I never have need to do that. You said you can see them when you set a breakpoint, and you can do stuff with them in the command window so why is seeing them in the base workspace a necessity? Nonetheless, here is how to do it: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F Or you can use the assignin() function.
  1 件のコメント
Thulasi Durai Durai Samy
Thulasi Durai Durai Samy 2012 年 7 月 9 日
I use assignin function it works great, but the gui runs with set of variables I had declared at starting of the function. But in command window i can access the base work space variables which I can see. but can I change the workspace as my gui workspace in matlab for time being

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

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by