Does Simulink blocks data type affect simulation time?
Afficher commentaires plus anciens
I have built a large Simulink model and I am wondering if using data type like 'binary' or 'uint8' when possible instead of all signals being 'double' type would save me some simulation time.
Réponses (1)
Fangjun Jiang
le 17 Avr 2019
0 votes
Probably no effect. And probably causes more time since you need to resolve data type conflicts and add data type conversion.
If you don't care about data types, just use all default (double).
Catégories
En savoir plus sur Prepare Model Inputs and Outputs dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!