How to get the variables into workspace while running GUI?

5 ビュー (過去 30 日間)
Nithya
Nithya 2014 年 3 月 11 日
コメント済み: Chandrasekhar 2014 年 3 月 12 日
I have small functions and scripts inside my GUI. When i run my GUI I cannot see any variables and its datas in my workspace. Therefore my programs are getting error while running GUI. Is there any command that would help me.

採用された回答

David Sanchez
David Sanchez 2014 年 3 月 11 日
There are several things you can do. To see the value of a variable in the workspace, do not write the semicolon, that will present the variable and its value in runtime. You can also declare global variables within your functions.
doc global
for examples and full documentation
  2 件のコメント
Nithya
Nithya 2014 年 3 月 12 日
Actually its a very big matrix so i dont want it to be diplayed in command screen.
Chandrasekhar
Chandrasekhar 2014 年 3 月 12 日
vars = evalin('base','who');

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

その他の回答 (1 件)

Chandrasekhar
Chandrasekhar 2014 年 3 月 11 日
use the command
evalin('base','who');

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by