MuPAD® notebooks will be removed in a future release. 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.


DOM_INT is the domain of integer constants such as 42 or - 56412564156717653. The size of integers is limited to 2221 - 1 in absolute value.

Function Calls

Calling an integer as a function returns that integer unchanged. The arguments are not evaluated.


Integers are arithmetical expressions and thus accepted by almost every MuPAD® function.

To represent an integer in a basis different from 10, please use int2text.


Integers are atomic.

Element Creation

Integers are given by an optional sign (an arbitrarily long string of + and - signs) and a sequence of decimal digits. Apart from this direct input method, many MuPAD commands such as text2int return integers.

See Also

MuPAD Domains