フィルターのクリア

Simulink ASCII decode block stopped working

1 回表示 (過去 30 日間)
Jesse Beaupre
Jesse Beaupre 2023 年 8 月 30 日
回答済み: Jesse Beaupre 2023 年 8 月 30 日
I don't know if there was an update to Simulink recently, but my model which was working perfectly fine yesterday doesn't work anymore.
It now says :
An error occurred while running the simulation and the simulation was terminated
Caused by:
Component:Simulink | Category:Block error
This is the data coming in, as seen from Arduino Serial Monitor :
This is the settings of the COM4 data and Ascii decode blocks, I changed nothing and it worked perfectly well yesterday :

採用された回答

Jesse Beaupre
Jesse Beaupre 2023 年 8 月 30 日
It appear to be a problem with data alignment, but it was never a problem until today.
Adding a header solved the problem.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModel, Block, and Port Callbacks についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by