필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
.

답변 (1개)

Tejas
Tejas 2024년 3월 1일
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.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by