MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 163

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 274
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 273 274

Commentaires sur ces manuels

Pas de commentaire