MATLAB Compiler | ![]() ![]() |
Formatting Compiler-Generated Code
The formatting options allow you to control the look of the Compiler-generated C or C++ code. These options let you set the width of the generated code and the indentation levels for statements and expressions. To control code formatting, use
The remaining sections focus on the different choices you can use.
Note
To improve the readability of your generated code, turn off optimizations with -O none or -g . The examples in this section have optimizations off.
|
![]() | Porting Generated Code to a Different Platform | Listing All Formatting Options | ![]() |