fix point for simulink signals

2 views (last 30 days)
LIU
LIU on 18 Mar 2012
Hi, I have some single simulink signals need to be convert to fix point numeric type If I only change the datatype from single to 'fixdt(x,x,x)', does it work? espeically for RTW? What is the right way? Thx!

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 19 Mar 2012
Yes, technically speaking that should be all you need to do, but the Simulink Fixed Point product comes with several tools that help you figure out the right fixed-point type and resolve scaling issues. Perhaps watching the videos on my previous link is a good starting point.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!