Skip to content

isdeployed

miscellaneous · scripts/miscellaneous/isdeployed.m

: tf = isdeployed ()

Return true if the current program is running as a packaged / deployed application (MATLAB Compiler parity) and false when running inside the interactive Nexus interpreter.

Nexus sets this from the environment: NEXUS_DEPLOYED=1 (also true/yes/on) means deployed. Any other value, or an unset variable, means the normal interpreter session.