Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK
Due to the number of active and ever-changing list of MathWorks® products and functions, this is not a complete list of functions that cannot be compiled. If you have a question as to whether a specific MathWorks product's function is able to be compiled or not, the definitive source is that product's documentation. For an updated list of such functions, see Support for MATLAB and Toolboxes.
Functions that cannot be compiled fall into the following categories:
Functions that print or report MATLAB® code from a function, such as the MATLAB
helpfunction or debug functions.
Simulink® functions, in general.
Functions that require a command line, such as the MATLAB
savepath, which do not do anything in deployed mode.
In addition, there are functions and programs that have been identified as non-deployable due to licensing restrictions.
Only certain tools that allow run-time manipulation of figures are supported for compilation, for example, adding legends, selecting data points, zooming in and out, etc.
mccExcludedFiles.log lists all the functions and files excluded by
mcc. It is created after each attempted build.
List of Unsupported Functions and Programs
|Control System Toolbox™ prescale GUI
diary function is supported. However, when called from a compiled
Python package it will produce an empty text file. For information on logging command window
text with a compiled Python package, see Redirect Standard Output and Error to Python