Generate Native Half-Precision C Code from Simulink Models

Publié le: 13 décembre 2021
sur la chaîne: MATLAB
1,203
31

The half-precision data type in MATLAB is based on the IEEE half-precision floating point format and is useful when you need to reduce the memory needed for your code while maintaining precision.

Some embedded hardware targets natively support special types for half precision, such as _Float16 and _fp16 data types for ARM® compilers. This video demonstrates the steps to generate native half-precision C code for embedded hardware targets that natively support half precision floating-point data types.

Learn more:
Generate native half-precision C code example: https://bit.ly/3KNQB9f
Convert single precision lookup table to half precision example: https://bit.ly/3P2Qs4S

Watch:
Half-Precision Math in Modeling and Code Generation:    • Half-Precision Math in Modeling and Code G...  

Related Products:
Fixed-point designer: https://bit.ly/3kI7nMb

--------------------------------------------------------------------------------------------------------
Get a free product trial: https://goo.gl/ZHFb5u
Learn more about MATLAB: https://goo.gl/8QV7ZZ
Learn more about Simulink: https://goo.gl/nqnbLe
See what's new in MATLAB and Simulink: https://goo.gl/pgGtod

© 2022 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.


Sur cette page du site, vous pouvez voir la vidéo en ligne Generate Native Half-Precision C Code from Simulink Models durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MATLAB 13 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,203 fois et il a aimé 31 téléspectateurs. Bon visionnage!