How to get the variables into workspace while running GUI?

조회 수: 2 (최근 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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Chandrasekhar
Chandrasekhar 2014년 3월 11일
use the command
evalin('base','who');

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by