필터 지우기
필터 지우기

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 CenterFile Exchange에서 Model, 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