MATLAB Compiler | ![]() ![]() |
Including M-File Information in Compiler Output
The annotation options allow you to control the type of annotation in the Compiler-generated C or C++ code. These options let you include the comments and/or source code from the initial M-file(s) as well as #line
preprocessor directives. You can also use an annotation option to generate source file and line number information when you receive run-time error messages. To control code annotation, use
You can combine annotation options, for example, selecting both comments and #line
directives. The remaining sections focus on the different choices you can use.
![]() | Setting Indentation Spacing | Controlling Comments in Output Code | ![]() |