Main Content

Functions Not Supported for Compilation byMATLABCompilerandMATLABCompiler SDK

Note

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, seeSupport 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 MATLABhelpfunction or debug functions.

  • 金宝app®functions, in general.

  • Functions that require a command line, such as the MATLABlookforfunction.

  • 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.loglists all the functions and files excluded bymcc. 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
回声
edit
fields
figure_palette
get_param
help
home
inmem
keyboard
linkdata
linmod
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