MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 259

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 258
Save a GUIDE GUI
In either case, GUIDE prompts you for a name before saving the GUI,
and saves both a
.fig file and a .m file using the name you specify, for
example,
mygui.fig and mygui.m,
ThefirsttimeyouruntheGUIby
- Clicking the Run icon on the L ayout Editor toolbar
- Selecting Run from the Tools menu
In each cas e, GU IDE prompts you for a name and saves the GUI files
before activating the GUI.
In all cases, GUIDE opens a template for your code in your default editor.
See “Callback Names and Signatures in GUIDE” o n page 8-16 for more
information about the template.
Note In most cases you should save your GUI to your c urrent folder or to
your path. GUIDE-generated GUIs cannot run correctly from a private folder.
GUI FIG-files that are created or modified with MATLAB 7.0 or a later
MATLAB version, are not automatically compatible w ith Version 6.5 and
earlier versions. To make a FIG-file, which is a k ind of MAT-file, backward
compatible, you must check General > MA T-Files > MA TLAB Version 5
or later (save -v6) in the MA TLAB Preferences dialog box before saving
the file. Button groups, panels and tables were introduced in MATLAB 7, and
you should not use them in GUIs that you expect to run in earlier MATLAB
versions.
Be aware that the -v6 option is obsolete and will be removed in a future
version of MATLAB
Save a New GUI
Follow these steps if you are saving a GUI for the first tim e, or if you are
using Save as from the File m enu.
7-5
Vue de la page 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 758 759

Commentaires sur ces manuels

Pas de commentaire