Determine whether code is running in deployed or MATLAB mode
x = isdeployed
returns logical 1 (true
) when the function is running in deployed mode using MATLAB® Runtime and 0 (false
) if it is running in a MATLAB session.
An application running in deployed mode consists of a collection of MATLAB functions and data packaged using MATLAB Compiler™ into a standalone executable or shared library that runs outside of a MATLAB session using MATLAB Runtime libraries.