MATLAB POLYSPACE 7 Guide d'installation Page 259

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 618
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 258
MATLAB Workspace
information see “Data Import and Export” in the MATLAB Programming
documentation.
Loading a Saved Wo rkspace and Impo rting Data
To load saved variables into the workspace,
1 Click the Import Data button on the toolbar in the Workspace bro wse r.
The Open dialog box opens.
2 Select the MAT-file you want to load and click Open.
The variables and their values, a s stored in the MAT-file, a re loaded into
the current workspace. If any variables being loaded have the same names
as variables in the current workspace, the values from the MAT-file replace
the values in the current workspace. Any variables in the M AT-file that are
not in the workspace are added to the workspace.
Function Alternative
Use load to open a saved workspace. For example,
load('june10')
loads all workspace variables from the file june10.mat.
Importing Data
MATLAB provides other methods and functions for loading information.
Yo u can use one of these methods, the Import Wizard, from the Workspace
browser select Edit > Paste to workspace or use Ctrl+V to import data
to MATLAB using the Im port Wizard. For more information on the Import
Wizard and other methods for loading information, see the “Using the Import
Wizard”.
V iewing Variables in MAT-Files
Use the C urrent Directory brow ser to view the contents of a MAT-file without
loading the file into MATLAB. For details, see “Finding Files and Content
Within Files” on page 5-49.
5-7
Vue de la page 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 617 618

Commentaires sur ces manuels

Pas de commentaire