Error out of range
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2012-10-11
It means that "u" is expected to be a vector, but it does not have at least 2 elements.
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!