Set a specific output resolution for float

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개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

질문:

2014년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by