Floating point to Fixed point
显示 更早的评论
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
2022-6-19
0 个投票
To note the workflow for converting MATLAB function blocks into fixed point follow the documentation below:
- https://in.mathworks.com/help/fixedpoint/ug/convert-a-model-with-a-matlab-function-block-to-fixed-point.html
- https://in.mathworks.com/help/fixedpoint/ug/best-practices-for-working-with-the-matlab-function-block-in-automated-fixed-point-conversion-workflows.html
类别
在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!