How can I use the interpreted MATLAB block in simulink to return a vector?
3 次查看(过去 30 天)
显示 更早的评论
I am trying to use the interpreted MATLAB function in simulink to run an m file. It takes a vector in and outputs a vector, but for some reason gives an "index exceeds matrix dimensions" error. Can somebody please take a look at the simple attached code that illustrates this bug? I cannot figure out what the problem is! Thanks so much!
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!