Error out of range
8 views (last 30 days)
Show older comments
Hi there, can i know when i run simulink process, there is ana erroe statement like this 'The expression: sin(u(1)*exp(2.3*(-u(2)))) in 'test_switch/Fcn' has a subscript that is out of range'
what is the meaning of this?
0 Comments
Accepted Answer
Walter Roberson
on 11 Oct 2012
It means that "u" is expected to be a vector, but it does not have at least 2 elements.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!