Set a specific output resolution for float

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by