Borrar filtros
Borrar filtros

Do we need to have a main file to run guide(gui) in matlab or will it run with functions created by guide?

3 visualizaciones (últimos 30 días)
.

Respuestas (1)

Tejas
Tejas el 1 de Mzo. de 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.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by