Empty workspace with GUI

3 ビュー (過去 30 日間)
Sven Schoeberichts
Sven Schoeberichts 2012 年 7 月 26 日
Hi to all,
I use the workspace to debug my programs, but I made a program with a GUI now and the workspace stays empty. Why is it empty and how get the variables to appear in the workspace?
  1 件のコメント
Sven Schoeberichts
Sven Schoeberichts 2012 年 7 月 26 日
After some research, it's probablty because everything happens within functions and their own workspaces. Is there a way to make them all visible at the same time in the same window?

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

採用された回答

Luffy
Luffy 2012 年 7 月 27 日
Try storing variables in base work space by,
assignin('base','name of variable u want to save','value of variable');
To access variable
v = evalin('base','name of variable u want to access');
% the variable's data is now stored in v.

その他の回答 (0 件)

カテゴリ

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