Skip to content

coder.extrinsic

coder · scripts/+coder/extrinsic.m

EXTRINSIC  MATLAB Coder compatibility: mark function(s) extrinsic (no-op)

  coder.extrinsic(FUNCNAME)
  coder.extrinsic(FUNCNAME1, FUNCNAME2, ...)

  Declares one or more functions as extrinsic for code generation.  Outside
  MATLAB Coder -- i.e. when the containing .m file is run as ordinary code,
  which is Nexus's only mode of execution -- this is a runtime no-op: the
  pragma only affects a Coder build, never plain execution.

  See also coder.inline, coder.varsize, coder.target.