Download MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifications
Transcript
2 MATLAB GUIs GUIDE generates similar strings for the other callback properties. Changing the Name of the M-File and FIG-File GUIDE gives the GUI FIG-file and its associated application M-file the same root name; only the extensions differ. When you execute the M-file to launch the GUI, the following statement uses the mfilename command to determine the name of the FIG-file from the name of the M-file. fig = openfig(mfilename,'reuse'); If the FIG-file name differs from the M-file name, it is not called correctly. 2-24