MATLAB POLYSPACE 7 Guide d'installation Page 596

  • 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 595
9 Source Control Interface
c To pre vent others from checking out the f iles while you have them
checked out, select Lock latest version. To check out read-only
versions of the file, clear Lock latest version.
4 Click OK.
An error appears in the Command Window if a file is already checked out.
After checking out files, make changes to them in M ATLAB or another
product, and save the files. For example, edit an M-file in the Editor/Debugger.
If you try to change a file without first having checked it out, the file is
read-only, as seen in the title bar, and you will not be able to save any changes.
This protects you from accidentally overwriting the source control version of
the file.
If you end the MATLAB session, the file or files remain checked out. You can
check in files from within MATLAB during a later session, or directly from
your source control system.
Checking Out a Single File Using the Editor/Debugger,
Simulink, or Stateflow
1 Op en the M-file, Simuli nk model, or Stateflow chart you want to check out.
The title bar indicates the file is read-only.
2 Select File > Source Control > Check Out.TheCheck out file(s)
dialog box opens.
3 Complete the dialog box as described in step of “Checking Out One or More
Files U sing the Current Directory Browser” on page 9-33, and click OK.
Function Alternative
Use checkout to check out a file from the source control system. You can
check out multiple files at once and specify checkout options. The
checkout
function takes this form:
checkout({'file1','file2', ...},'option','value')
9-34
Vue de la page 595
1 2 ... 591 592 593 594 595 596 597 598 599 600 601 ... 617 618

Commentaires sur ces manuels

Pas de commentaire