MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 163

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la 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.
Vedere la pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 273 274

Commenti su questo manuale

Nessun commento