simulink model works online but fails to run offline

15 ビュー (過去 30 日間)
Amrith
Amrith 2024 年 12 月 6 日
コメント済み: Amrith 2024 年 12 月 7 日
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 件のコメント
Walter Roberson
Walter Roberson 2024 年 12 月 7 日
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
Amrith
Amrith 2024 年 12 月 7 日
@Walter Roberson I am not sure what the problem was but I saved the file to a different folder (it was directly opened from downloads folder in windows 11 whem I got the compilation error) and I dont see the error message anymore
looks like the issue is solved but I dont understand the issue with opening it from downloads causing the issue

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by