MATLAB: About the GUI, how can I use the .p file and the .fig file to convert the GUI to exe file
matlab gui
About the GUI, how can I use the .p file and the .fig file to convert the GUI to exe file ?
Best Answer
The MATLAB Compiler is able to convert .p files as well as .m files. Just include the .p file and the .fig as part of the project files. The .p file should be listed the same place you list .m files. Possibly the .fig should be included as an "additional" file.
.fig files are .mat files not .m files. You will not be able to open them in a text editor. You will need to use GUIDE, or need to openfig() the file and use the property inspector on the resulting figure.
Best Answer