| Simulink Reference | |
Limitations with Complex Numbers
Complex numbers and operations are supported in Embedded MATLAB Function blocks with the following exceptions:
fails because X is not defined as a complex variable by its first assignment. However,
succeeds because X is defined as a complex variable in its first assignment.
yields a real answer, Embedded MATLAB assumes that the function ifft might return a complex result. The workaround is to use the real function:
![]() | Limitations on Indexing Operations |
© 1994-2005 The MathWorks, Inc.