MATLAB POLYSPACE 7 Guide d'installation Page 296

  • 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 295
5 Workspace, Search Path, and File Operations
generates a warning and does not delete my file.m. Instead use the function
form of the syntax:
delete('my file.m')
Creating New F iles
To create a new file in the current directory,
1 Select New from the context menu or File menu and then select t he type
of file to create.
An icon for that file type, for example, a n M-file icon
, with the default
name
Untitledn, appears at the end of the list of files shown in the
Current Directory browser.
2 Type over Untitledn with the name you want to give to the new file.
3 Press Enter or Return.
The file is added.
4 To enter the contents of the new M-file, open the file—see “Opening and
Running Files” on page 5-47. If you created the file using the context menu,
the new file opens in the Editor/Debugger with a template for writing an
M-file function.
Function Alternative. Use the
edit function to create a new M-file or other
type of text file in the Editor/Debugger.
Creating New Director ies
To create a new directory in the current directory,
1 Click the New Folder button in the Current Directory browser toolbar,
or select New > Folder from the context menu.
An icon, with the default name
NewFoldern appears at the end of the list
of files shown in the Current Directory browser.
2 Type over NewFoldern with the name you want to give to the new directory.
5-44
Vue de la page 295
1 2 ... 291 292 293 294 295 296 297 298 299 300 301 ... 617 618

Commentaires sur ces manuels

Pas de commentaire