Simulink® Code Inspector™ inspects code that uses these functions and operations in the code replacement libraries (CRLs). For more information about CRLs, see Code Replacement (Embedded Coder).
Math Functions | |||
---|---|---|---|
abs | acos | acosh | asin |
asinh | atan | atan2 | atanh |
ceil | cos | cosh | exp |
fix | floor | hypot | log |
log10 | max | min | mod /fmod |
pow | rem | round | saturate |
signpow | sin | sincos | sinh |
sqrt | tan | tanh |
Operator | Key | Scalar Inputs | Nonscalar Inputs |
---|---|---|---|
Multiplication (* ) | RTW_OP_MUL | — | Yes |
Matrix right division (/ ) | RTW_OP_RDIV 1 | — | Yes |
Matrix left division (\ ) | RTW_OP_LDIV 1 | — | Yes |
Matrix inversion (inv ) | RTW_OP_INV 1 | — | Yes |
Transposition (.' ) | RTW_OP_TRANS | — | Yes |
Notes: 1 Matrix division and inversion are supported for Simulink code generation (not for Stateflow® or MATLAB® Coder™ code generation). |