Skip to content

coder.target

coder · scripts/+coder/target.m

TARGET  MATLAB Coder compatibility: active target name (interpreter: 'MATLAB')

  NAME = coder.target()
  NAME = coder.target(TARGET)

  In MATLAB Coder this reports / tests the code-generation target.  Nexus
  only runs interpreted .m, so the active target is always the host string
  'MATLAB'.  TARGET, when supplied, is accepted and ignored so annotated
  source keeps loading.

  See also coder.inline, coder.extrinsic, isdeployed.