MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de usuario Pagina 163

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 274
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 162
Formatting Compiler-Generated Code
5-37
NULL));
/*
*
* corners = [866 1;1 500;866 1000];
*/
mclMline(15);
mlfAssign(
&corners,
mlfDoubleMatrix(
3,
2,
_array0_,
(double *)NULL));
/*
* startPoint = [866 1];
*/
mclMline(16);
mlfAssign(
&startPoint,
mlfDoubleMatrix(
1,
2,
_array1_,
(double *)NULL));
/*
* theRand = rand(numPoints,1);
*/
mclMline(17);
mlfAssign(
&theRand,
mlfNRand(
1,
mclVa(numPoints, "numPoints"),
mlfScalar(1),
NULL));
.
.
.
Setting Indentation Spacing
Use the statement-indent:n option to set the indentation of all statements to
n, an integer. The default is 4 spaces of indentation. To set the indentation for
expressions, use
expression-indent:n. This sets the number of spaces of
indentation to
n, an integer, and defaults to two spaces of indentation.
Vista de pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 273 274

Comentarios a estos manuales

Sin comentarios