| Simulink Reference | ![]() |
List of Unsupported Features
The following is a list of MATLAB features that are not supported by Embedded MATLAB functions.
| Feature Not Supported |
Remarks |
| Cell arrays |
Supported data types are listed in Supported Variable Types in Embedded MATLAB Functions. |
| Command-line duality |
|
| Dynamic variables |
You cannot use variables of dynamic size, or variables of different sizes. |
| Function handles |
|
| Global |
|
| Integer math |
|
| Java |
|
| M-files |
User M-files in MATLAB path are not supported for code generation, but they can be called during simulation. |
| Matrix deletion |
|
| N-dimensional matrices |
Supported sizes are scalar and two-dimensional matrices. Vectors are two-dimensional matrices with a row or column dimension of 1. |
| Nested functions |
|
| Objects |
|
| Sparse matrices |
|
| Structures |
|
| Try/catch |
| Unsupported MATLAB Features and Limitations | Limitations on Indexing Operations | ![]() |
© 1994-2005 The MathWorks, Inc.