MATLAB POLYSPACE 7 Instalační příručka Strana 280

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 279
5 Workspace, Search Path, and File Operations
The Browse for Folder dialog box opens.
2 In the Browse for Folder dialog box, use the view of your file system to
select the directory to add, and then click OK.
The se lected directory, and subdirectories if specifie d in step 1, are added to
the top of the search path.
3 To use the newly modified search path in future sessions, click Save.
For more information about saving the path, see “Saving Settings to the
Path” on page 5-30.
4 Click Close. If you did not save the changes in the p revious step, the
directories you added remain on the search path until you end the current
MATLAB session.
Yo u cannot add method directories (directories that start w ith @) and p rivate
directories to the MATLAB search path.
Adding Directories to the Path from the Current Directory Browser.
In the Current Directory browser, select a directory, right-click, and select
Add to Path from the context menu. Then select one of the submenus, for
example, Selected Folder an d Subfolders.
Function Alternative. To add directories to the top or the end of the search
path, use
addpath.Theaddpath function offers an option to get the path as a
string and to concatenate multiple strings to form a new path.
You can include
addpath statements in your startup M-file to automatically
modify the path when MATLAB starts. For d etails, see “Modifying the Path in
a startup.m File” on page 5-31.
Moving Directories Within the Search Path
The order of files on the search path is relevant for more information, see
“How the Search Path Determines Which Function to Use” on page 5-24.
To modify the order of directories within the search path,
1 Select the directory or directories you want to move.
5-28
Zobrazit stránku 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 617 618

Komentáře k této Příručce

Žádné komentáře