| Simulink Reference | ![]() |
Embedded MATLAB Run-Time Function Library -- Alphabetical List
This topic lists functions in the Embedded MATLAB run-time library in alphabetical order. Each entry includes a link to the help for the equivalent MATLAB function along with a one-line description and any limitations that apply to it. See also Embedded MATLAB Run-Time Library -- Categorical List.
| Function |
Description |
abs |
Absolute value and complex magnitude of an array |
acos |
Inverse cosine |
acosh |
Inverse hyperbolic cosine |
all |
Test if all elements are nonzero |
and |
Logical AND (&) |
angle |
Phase angle |
any |
Test for any nonzero elements |
asin |
Inverse sine |
asinh |
Inverse hyperbolic sine |
atan |
Inverse tangent |
atan2 |
Four quadrant inverse tangent |
atanh |
Inverse hyperbolic tangent |
cast |
Cast variable to different data type |
ceil |
Round toward plus infinity |
char |
Create character array (string) |
chol |
Cholesky factorization |
class |
Query class of object |
complex |
Construct complex data from real and imaginary components; see Using Complex Data in Embedded MATLAB Functions in Simulink online documentation |
conj |
Return the conjugate of a complex number |
conv |
Convolution and polynomial multiplication (Signal Processing Blockset license required) |
cos |
Cosine |
cosh |
Hyperbolic cosine |
cross |
Vector cross product |
ctranspose |
Complex conjugate transpose (') |
cumprod |
Cumulative product of array elements |
cumsum |
Cumulative sum of array elements |
diag |
Return a matrix formed around the specified diagonal vector and the specified diagonal (0, 1, 2,...) it occupies |
diff |
Differences and approximate derivatives |
double |
Convert to double-precision floating point |
eps |
Return floating-point relative accuracy |
eq |
Equal (==) |
exp |
Exponential |
eye |
Identity matrix |
factorial |
Factorial function |
false |
Return an array of 0's for the specified dimensions |
fft |
Discrete Fourier transform (Signal Processing Blockset license required) |
fix |
Round toward zero |
filter |
Filter a data sequence using a digital filter that works for both real and complex inputs (Signal Processing Blockset license required) |
floor |
Round toward minus infinity |
ge |
Greater than or equal to (>=) |
gt |
Greater than (>) |
ifft |
Inverse discrete Fourier transform (Signal Processing Blockset license required) |
imag |
Return the imaginary part of a complex number |
Inf or inf |
Return IEEE arithmetic representation for positive infinity (simulation only) |
interp1 |
One-dimensional interpolation (table lookup) |
interp1q, see interp1 |
One-dimensional data interpolation (table lookup) |
intmax |
Largest possible value of specified integer type |
intmin |
Smallest possible value of specified integer type |
inv |
Inverse of a square matrix |
int8, int16, int32 |
Convert to signed integer data type |
isa |
Determine if input is object of given class |
ischar |
True for character array (string) |
isempty |
Test if an array is empty |
isfinite |
Detect finite elements of an array |
isfloat |
Determine if input is floating-point array |
isinf |
Detect infinite elements of an array (simulation only) |
isnan |
Detect NaN elements of an array (simulation only) |
isnumeric |
True for numeric arrays |
isreal |
Return false (0) for a complex number |
isscalar |
True if array is a scalar |
isvector |
True if array is a vector |
ldivide |
Left array divide (\) |
le |
Less than or equal to (<=) |
length |
Return the length of a matrix |
log |
Natural logarithm |
logical |
Data type representing true or false value |
lt |
Less than (<) |
lu |
Matrix factorization |
max |
Maximum elements of a matrix |
min |
Minimum elements of a matrix |
minus |
Minus (-) |
mean |
Average or mean value |
mldivide |
Left matrix divide (\) |
mod |
Modulus (signed remainder after division) |
mpower |
Matrix power (^) |
mrdivide |
Right matrix divide (/) |
mtimes |
Matrix multiply (*) |
NaN or nan |
Return not a number (simulation only) |
nargin |
Return the number of input arguments a user has supplied |
nargout |
Return the number of output return values a user has requested |
ndims |
Number of dimensions |
ne |
Not equal (~=) |
not |
Logical NOT (~) |
ones |
Create a matrix of all ones |
or |
Logical OR (|) |
pi |
Return the ratio of the circumference to the diameter for a circle |
pinv |
Pseudoinverse of a matrix |
plus |
Plus (+) |
power |
Array power (.^) |
prod |
Product of array element |
rdivide |
Right array divide (/) |
real |
Return the real part of a complex number |
realmax |
Return the largest positive floating-point number |
realmin |
Return the smallest positive floating-point number |
rem |
Remainder after division |
repmat |
Replicate and tile an array |
reshape |
Reshape one array into the dimensions of another |
round |
Round toward nearest integer |
sign |
Signum function |
sin |
Sine |
single |
Convert to single precision |
sinh |
Hyperbolic sine |
size |
Return the size of a matrix |
sort |
Sort elements in ascending or descending order |
sosfilt |
Second order (biquadratic) IIR filtering (Signal Processing Blockset license required) |
sqrt |
Square root |
strcmp |
Return a logical result for the comparison of two strings; limited to strings known at compile time |
sum |
Sum of matrix elements |
svd |
Singular value decomposition |
tan |
Tangent |
tanh |
Hyperbolic tangent |
times |
Array multiply (.*) |
tril |
Extract lower triangular part |
triu |
Extract upper triangular part |
transpose |
Matrix transpose (') |
true |
Return an array of logical (Boolean) 1's for the specified dimensions |
uint8, uint16, uint32 |
Convert unsigned integer data type |
uminus |
Unary minus (-) |
uplus |
Unary plus (+) |
xcorr |
Cross-correlation function estimates (Signal Processing Blockset license required) |
zeros |
Create a matrix of all zeros |
| Embedded MATLAB Run-Time Function Library | Embedded MATLAB Run-Time Library -- Categorical List | ![]() |
© 1994-2005 The MathWorks, Inc.