MATLAB POLYSPACE 7 Guía de instalación Pagina 443

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 618
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 442
1 2 ... 438 439 440 441 442 443 444 445 446 447 448 ... 617 618

Comentarios a estos manuales

Sin comentarios