Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK
Note
Due to the number of active and ever-changing list of bat365® 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 bat365 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
help
function or debug functions.Simulink® functions, in general.
Functions that require a command line, such as the MATLAB
lookfor
function.clc
,home
, andsavepath
, 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
add_block |
add_line |
checkcode |
close_system |
colormapeditor |
commandwindow |
Control System Toolbox™ prescale GUI |
createClassFromWsdl |
dbclear |
dbcont |
dbdown |
dbquit |
dbstack |
dbstatus |
dbstep |
dbstop |
dbtype |
dbup |
delete_block |
delete_line |
depfun |
doc |
echo |
edit |
fields |
figure_palette |
get_param |
help |
home |
inmem |
keyboard |
linkdata |
linmod |
load_system |
matlab.unittest.TestSuite.fromProject |
mislocked |
mlock |
more |
munlock |
new_system |
open |
open_system |
pack |
pcode |
plotbrowser |
plotedit |
plottools |
profile |
profsave |
propedit |
propertyeditor |
publish |
quit |
rehash |
restoredefaultpath |
run |
segment |
set_param |
sldebug |
type |
Note
The 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