Simulink ASCII decode block stopped working
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jesse Beaupre
am 30 Aug. 2023
Beantwortet: Jesse Beaupre
am 30 Aug. 2023
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1468556/image.png)
It now says :
An error occurred while running the simulation and the simulation was terminated
Caused by:
- Error reported by S-function 'slasciidecode' in 'datacx2out2/Communication/ASCII Decode': RS232 AsciiDecode: receive data error
Component:Simulink | Category:Block error
This is the data coming in, as seen from Arduino Serial Monitor :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1468561/image.png)
This is the settings of the COM4 data and Ascii decode blocks, I changed nothing and it worked perfectly well yesterday :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1468566/image.png)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!