Initialization code not loading from GUI
Ältere Kommentare anzeigen
Hi people. I have been learning MATLAB and have stumbled on an issue I imagine is an easy fix.
I have been developing a GUI code and ideally I want it to function so that when I double-click the project.fig file it will execute all the coding in the initialization. Basically these subfunctions:
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @DynoData_OpeningFcn, ...
'gui_OutputFcn', @DynoData_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
The code executes fine if I run it from the editor but they do not run if I run it from the directory folder next to the command window. Why?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Other Formats finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!