Set a specific output resolution for float

2 vues (au cours des 30 derniers jours)
Thomas LE DIOURON
Thomas LE DIOURON le 6 Nov 2014
We have output floats from Simulink models that are generated with RTW.
Due to technical problems of the model consumers, we need to convert the float outputs (all if possible) to a specified resolution (like something as %.2f).
Is there a way to set the precision of the floats during the code generation?

Réponses (0)

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!

Translated by