Do we need to have a main file to run guide(gui) in matlab or will it run with functions created by guide?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
.
0 Kommentare
Antworten (1)
Tejas
am 1 Mär. 2024
Hello Shruthi,
When you create a GUI using GUIDE, it generates two files: a .FIG file and .M file. The .FIG file holds the layout of the GUI, while the .M file serves as the primary file for the GUI. This .M file contains the initialization code, the callbacks, and any additional functions you may have created.
There is no need for a separate main file, as you can directly execute the GUI by typing the name of the .M file (omitting the .M extension) into the MATLAB Command Line.
For additional details on GUIDE, please consult the following documentation:
In case you are considering transitioning to App Designer, refer to this documentation for guidance: https://www.mathworks.com/matlabcentral/fileexchange/66087-guide-to-app-designer-migration-tool-for-matlab.
Regards,
Tejas.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!