vartype
VARTYPE Variable-type subscript / import type (MATLAB compat).
S = vartype (TYPE) returns a subscript used as T(:, S) / T{:, S} to select
variables whose class matches TYPE. TYPE may be a class name, or one of
the categories 'numeric', 'float', or 'integer' (MATLAB R2026a).
Optional FillValue / InitialValue pairs remain for import-options callers.