Floating point to Fixed point

1 回表示 (過去 30 日間)
Anish Navalgund
Anish Navalgund 2018 年 3 月 27 日
回答済み: Ayush Kumar Jaiswal 2022 年 6 月 19 日
Hey guys, I have an user-defined MATLAB code (floating point) block in my simulink model. The MATLAB code contains loops, a function call and an arctan function. How can I convert the entire simulink model into a fixed point model (including the MATLAB code block)?

回答 (1 件)

Ayush Kumar Jaiswal
Ayush Kumar Jaiswal 2022 年 6 月 19 日
To note the workflow for converting MATLAB function blocks into fixed point follow the documentation below:
  1. https://in.mathworks.com/help/fixedpoint/ug/convert-a-model-with-a-matlab-function-block-to-fixed-point.html
  2. https://in.mathworks.com/help/fixedpoint/ug/best-practices-for-working-with-the-matlab-function-block-in-automated-fixed-point-conversion-workflows.html

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by