Why do I receive an error when I pass a vector to an Embedded MATLAB Function Block and manipulate it inside the block code in Simulink 6.0 (R14) and later versions?
Show older comments
I have passed a vector into an Embedded MATLAB Function Block and then attempted to assign all or part of this vector to another vector using standard array indexing notation in the Embedded MATLAB code. However, when I try to run the simulation I receive a "size mismatch" error which may state the following:
Empty index expressions are not yet supported
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!