Type representing variables
MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
Type::Unknown represents identifiers and
An identifier has the domain type
An indexed identifier is an expression with type
_index and two operands, the first of
which is an identifier and the second one is an integer. A local variable is not of type
This type does not represent a property.
Type::Unknown accepts identifiers:
x is an indexed identifier accepted by
The index must be an integer:
testtype(x[-1], Type::Unknown), testtype(x[1.0], Type::Unknown)
Any MuPAD® object