MATLAB POLYSPACE 7 Guide d'installation Page 536

  • 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 535
8 Publishing Results
Defining MATLAB Commands as Input Cells for Notebook
In this section...
“Defining Commands as Input Cells for Notebook” on page 8-36
“Defining Cell Groups for Notebook” on page 8-37
“Defining Autoinit Input Cells for Notebook” on page 8-38
“Defining Calc Zones for Notebook” on page 8-38
“Converting an Input C ell to Text with Notebook” on page 8-39
For inform ation about evaluating the input cells you define, see “Evaluating
MATLAB Commands with Notebook” on page 8-41.
Defining Commands as Input Cells for Notebook
To define a MATLAB command in a Word document as an input cell,
1 Type the command into the M-book as text. For example,
This is a sample M-book.
a = magic(3)
2 Position the cursor anywhere in the command and select
Notebook > Define Input Cell or press Alt+D. If the command is
embedded in a line of text, use the mouse to select it. N otebook defines the
MATLAB command as an input cell:
This is a sample M-book.
[a = magic(3)]
Note how Notebook changes the character font of the text in the input cell to a
bold, dark green color and encloses it within cell m arkers. C ell markers are
bold, gray brackets. They differ from thebracketsusedtoenclosematricesby
their size and weight. For information about changing these default formats,
see “ Modifying Styl es in th e M-Bo ok Template” on page 8 -47.
8-36
Vue de la page 535
1 2 ... 531 532 533 534 535 536 537 538 539 540 541 ... 617 618

Commentaires sur ces manuels

Pas de commentaire