MATLAB POLYSPACE 7 Guida di Installazione Pagina 443

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 442
Using Cells for Rapid Code Iterati on a nd P ub lishi ng Results
Defining Cells
Cell features operate on ce lls, where a cell is contiguous lines of code you
want to evaluate as a whole in an M-file script. To define a cell, first be sure
that cell mode is enabled (see step ). Position the cursor just before the line
at which you want to start the cell and select Cell > Insert Cell Divider
or click the Insert Cell Divider button
. M ATLAB inserts a line after the
cursor that consists of two percent signs (
%%), which is the “start new cell”
indicator to MATLAB. A cell consists of the line starting with
%% and the
lines that follow, up to the start of the next cell, which is identified by
%% at
the start of a new line.
Yo u can also define a cell by entering two percent signs (
%%)atthestart
of the line where you want to begin the new cell. Alternatively, select the
6-135
Vedere la pagina 442
1 2 ... 438 439 440 441 442 443 444 445 446 447 448 ... 617 618

Commenti su questo manuale

Nessun commento