#Simulink#code generation#Buffer#Dspace
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Error message: All sample times must be discrete. No continuous or constant sample times are allowed.
I am getting the above mentioned error while building the model in simulink. This error pertains to buffer block which is receiving bitwise data from Dspace via RS232 serial port. Please let me know how to get rid off this error. Thanks in advance.
0 commentaires
Réponses (1)
Chidvi Modala
le 30 Juil 2019
I assume that you are using a constant block inside your model. By default, the sample time of constant block is 'inf'. Try changing the sample time of constant block.
Voir également
Catégories
En savoir plus sur Simulink Coder 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!