Simulink data type conversion
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm reading an IMU on the arduino board with a s-function block in simulink by double or single data types though I just need 2 decimals precision as ("xyz.ab").I want to improve the performance with changing data types and wonder that;
is there a way to decrease the precision to 2 decimals in s-function block or by adding/using any other conversion blocks/codes in the simulink aside from using fixed-point toolbox?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/213478/image.jpeg)
0 commentaires
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!