Working with Compilation Reports

About Compilation Reports

Embedded MATLAB MEX automatically generates reports in HTML format when errors or warnings occur at compile time. You can use these reports for debugging your M-code and verifying compliance with Embedded MATLAB semantics and syntax.

Location of Compilation Reports

Embedded MATLAB MEX describes errors and warnings in HTML reports at the following location:

output_directory/mexfcn/
primary_function_name/html/
primary_function_name_report.html

Description of Compilation Reports

Embedded MATLAB MEX automatically reports errors and warnings. If errors occur during compilation, Embedded MATLAB MEX does not generate C-MEX code. If compilation produces warnings, but no errors, Embedded MATLAB MEX does generate C-MEX code, but displays the warning messages.

Reports present error and warning messages in two views:

In either view, the Location link brings you to the offending code in the source file, while the Message link highlights the location of the offending code in the source listing, as in this example:

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS