MATLAB POLYSPACE 7 Guide d'installation Page 441

  • 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 440
Using Cells for Rapid Code Iterati on a nd P ub lishi ng Results
Using Cells for Rapid Code Iteration and Publishing Results
In this section...
“What Are Cells?” on page 6-133
“Rapid Code Iteration Overview” on page 6-133
“Defining Cells” on page 6-135
“Navigating and Evaluating with Cells” on page 6-139
“Using Cells in Function M-Files” on page 6-144
What Are Cells?
M-files often have a natural structure consisting of multiple sections.
Especially for larger files, you typically focus efforts on a single section at a
time, w orking with the code in just that section. Similarly, when conveying
information about your M-files to others, often you describe the se ctions of the
code.Tofacilitatetheseprocesses,useM-filecells,wherecell means a section
of code. Specifically, MATLAB uses cells for
R apid code iteration in the Editor/Debugger This makes the experimental
phase of your work with M-file s cripts easier. The next section, “Rapid Code
Iteration O verview” on page 6-133, outlines the process, and is followed by
details for defining, evaluating, and modifying values in cells.
Publishi ng M-files This a llows you to i nclude code and results in a
presentation format such as HT ML. Pub li sh in g using cells req u ire s y ou to
define cells using the same instructions as for rapid code iteration. You
can also make use of the cell navigation and evaluation features used for
rapid code iteration. See “Publishing to H TM L, XML, LaTeX, Word, and
PowerPoint Using Cells” on page 8-2 for complete details.
Rapid Code Iteration Overview
When w orking with MATLAB, you often experiment with your code
modifying it, testing it, and updating it until you have an M-file that does
what you want. Use the MATLAB Editor/D ebug ge r cells features with M-file
scripts to facilitate this process. You can also use cell features w ith function
M-files,buttherearesomerestrictions—see“UsingCellsinFunction
M-Files” on page 6-144.
6-133
Vue de la page 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 617 618

Commentaires sur ces manuels

Pas de commentaire