Skip to content

coder.typeof

coder · scripts/+coder/typeof.m

TYPEOF  MATLAB Coder compatibility: type descriptor of a value

  T = coder.typeof (V [, SIZE [, VARDIMS]]) returns the struct described
  in coder.newtype for the class and size of V (or the given SIZE).

  See also coder.newtype, codegen.