Skip to content

coder.ignoreConst

coder · scripts/+coder/ignoreConst.m

IGNORECONST  MATLAB Coder compatibility: return X unchanged when interpreted

  Y = coder.ignoreConst (X)

  In MATLAB Coder this marks X so the value is not treated as a
  compile-time constant.  Nexus only runs interpreted .m, so the
  annotation is an identity: Y is X.

  See also coder.const, coder.nullcopy.