How to save a GUI In Way that you can run it from another PCs?
11 views (last 30 days)
Fangjun Jiang on 26 May 2011
If your master (teacher, professor?) has Matlab, he should be able to run the .m file corresponding to your GUI application. You could also give him the .p file so he can double click the .p file in Matlab to run it.
If your master does not have Matlab, you can compile your GUI application to an .exe file so it can be run on any computer. You need to have the Matlab Compiler Toolbox to do it.
More Answers (2)
Matt Fig on 26 May 2011
I don't understand what you mean "it can only be run by opening GUIDE."
That is not correct, unless there is something wrong. You should be able to type the name of the GUI at the MATLAB command line and cause it to open. So if you give both of the M-file and FIG-file to your master, he should be able to run it by putting the files in his local directory then typing the name of the GUI.