How can I fix this "The "FixedStepDiscrete" solver cannot be used to simulate block diagram,because it contains continuous states"
103 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Swanand Pisat
le 30 Sep 2015
Commenté : Ashiqur Rahaman MOLLA
le 7 Avr 2022
The "FixedStepDiscrete" solver cannot be used to simulate block diagram because it contains continuous states. I am using TI Hardware TMS320 F28335.
0 commentaires
Réponse acceptée
Sebastian Castro
le 5 Oct 2015
You should replace any continuous-time blocks with states (e.g. Integrator, Transfer Fcn, PID Controller, etc.) with their discrete-time equivalents.
I believe there is a check in Model Advisor that can help find these for you. It is under By Task > Modeling Standards for MAAB > Simulink > Check for blocks not recommended for C/C++ production code deployment.
- Sebastian
2 commentaires
Ashiqur Rahaman MOLLA
le 7 Avr 2022
It's under the modelleing tab of the simulink interface and in that it is situated in the top left corner.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Component-Based Modeling dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!