just to clarify , I have exported the model for previous version of matlab v2024a using online matlab
simulink model works online but fails to run offline
14 views (last 30 days)
Show older comments
Hello,
I have created a model in online matlab v2024b , but when I try to use it offline (v2024a) I get an error
Error:Index in position 2 exceeds array bounds. Index must not exceed 1
The model works fine online (simulation) but fails to start simulation because of the error above
3 Comments
Walter Roberson
on 7 Dec 2024
I tested in R2024a, and could not get it to fail.
I get warnings about undirected broadcasts such as send(door_close). I get warnings about various buttons defined but not used in the chart
Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!