workspace in gui mode

hi, for some reason when i place my script inside the gui
inside:
function LSM_gui_OpeningFcn(hObject, eventdata, handles, varargin)
the program run perfectly but the workspace remain empty i need to acces the calculated variables but they do not exist what can i do?
maybe i just placed the script code in the wrong place?

Antworten (1)

per isakson
per isakson am 11 Dez. 2013
Bearbeitet: per isakson am 11 Dez. 2013

0 Stimmen

Functions have their own workspace, which is cleared when the function is completed. Search the help for function and workspace.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 11 Dez. 2013

Bearbeitet:

am 11 Dez. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by