Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Functions not supported by MATLAB Compiler / MATLAB Compiler 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, 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, for example, the MATLAB help function or debug functions, do not work.

  • Simulink® functions, in general, do not work.

  • Functions that require a command line, for example, the MATLAB lookfor function, do not work.

  • clc, home, and savepath do not do anything in deployed mode.

  • Only certain tools that allow run-time manipulation of figures are supported, for example, adding legends, selecting data points, zooming in and out, etc.

Returned values from standalone applications are 0 for successful completion or a nonzero value otherwise.

In addition, there are functions and programs that have been identified as nondeployable due to licensing restrictions.

mccExcludedFiles.log lists all the functions and files excluded by mcc if they cannot be compiled. It is created after each attempted build if there are functions or files that cannot be compiled.

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
matlab.unittest.TestSuite.fromProject
mislocked
mlock
more
munlock
new_system
open_system
pack
pcode
plotbrowser
plotedit
plottools
profile
profsave
propedit
propertyeditor
publish
rehash
restoredefaultpath
run
segment
set_param
sim
sldebug
type