Simulink ASCII decode block stopped working
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jesse Beaupre
le 30 Août 2023
Réponse apportée : Jesse Beaupre
le 30 Août 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.
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 :
This is the settings of the COM4 data and Ascii decode blocks, I changed nothing and it worked perfectly well yesterday :
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Model, Block, and Port Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!