function ddddd_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;
global m ; !!!!
guidata(hObject, handles);
I described a variable but I can not see it in workspace. To see in workspace I have to write it in command window. can it possible to describe a variable which is shown in workspace during function works.

2 件のコメント

Tom
Tom 2013 年 6 月 26 日
which workspace?
mehmet ali yurtsever
mehmet ali yurtsever 2013 年 6 月 26 日
main page workspace

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

 採用された回答

per isakson
per isakson 2013 年 6 月 26 日
編集済み: per isakson 2013 年 6 月 26 日

0 投票

"main page workspace" is not according to Matlab nomenclature. See the help topic, Base and Function Workspaces
workspace is also the name of a function, which opens the Workspace Browser.
"see it in workspace" I assume that you refer to the Workspace Browser.
Now, I need to provide a link to "scope" or "current scope", but I fail to find one. Too bad, because "scope" is an important concept in this context. TMW, do you listen?
.
The reason you don't see the variables in the Workspace Browser is probably that the variables in question are created in the workspace of a function and that you look for them after the function has finished execution. Then the Workspace Browser displays the variables of the base workspace.
Try
>> global m
interactively to include the variable, m, in the base workspace.

3 件のコメント

mehmet ali yurtsever
mehmet ali yurtsever 2013 年 6 月 27 日
yes I ment base workspace. I am new at matlab so I am not used to nomenclature of matlab. http://www.youtube.com/watch?v=l4aYLiSDETQ in this link I tried to explane thanks for your help. Mehmet Ali Yurtsever
mehmet ali yurtsever
mehmet ali yurtsever 2013 年 6 月 28 日
mehmet ali yurtsever
mehmet ali yurtsever 2013 年 6 月 28 日
nope it still there

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by