Data Definition for Code Generation
To generate efficient standalone code, you must define the following types and classes of data differently than you normally would when running your code in MATLAB®.
|Data||What Is Different||More Information|
|Arrays||Maximum number of elements is restricted||Array Size Restrictions for Code Generation|
Because MATLAB does not support complex integer arithmetic, you cannot generate code for functions that use complex integer arithmetic
|Code Generation for Complex Data|
|Characters||Restricted to 8 bits of precision||Encoding of Characters in Code Generation|