MATLAB COMPILER RELEASE NOTES User's Guide Page 147

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 146
Formatting Compiler-Generated Code
5-31
&corners,
mlfDoubleMatrix(
3,
2,
_array0_,
(double *)NULL));
/*
* startPoint = [866 1];
*/
mlfAssign(
&startPoint,
mlfDoubleMatrix(
1,
2,
_array1_,
(double *)NULL));
/*
* theRand = rand(numPoints,1);
*/
mlfAssign(
&theRand,
mlfNRand(
1,
mclVa(numPoints, "numPoints"),
mlfScalar(1),
NULL));
/*
* theRand = ceil(theRand*3);
*/
mlfAssign(
&theRand,
mlfCeil(
mclMtimes(
mclVv(theRand, "theRand"),
mlfScalar(3))));
.
.
.
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.
Page view 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 263 264

Comments to this Manuals

No comments