User`s guide
Limitations and Restrictions
1-19
if (y==3)
persistent x
else
x = 3;
end
Stand-Alone Applications
The restrictions and limitations noted in the previous section also apply to
stand-alone applications. The functions in Table 1-2, Unsupported Functions
in Stand-Alone Mode, are supported in MEX-mode, but are not supported in
stand-alone mode.
Note Stand-alone applications cannot access Simulink functions. Although
the MATLAB Compiler can compile M-files that call these functions, the
MATLAB C/C++ Math library does not support them. Therefore, unless you
write your own versions of the unsupported routines in a MEX-file or as C
code, when you run the executable, you will get a run-time error.
Table 1-2: Unsupported Functions in Stand-Alone Mode
add_block add_line applescript assignin
callstats close_system cputime dbclear
dbcont dbdown dbquit dbstack
dbstatus dbstep dbstop dbtype
dbup delete_block delete_line diary
echo edt errorstat errortrap
evalin fields fschange functionscalled
get_param hcreate help home
hregister inferiorto inmem isglobal
isjava isruntime java javaArray