Significant Figures in Simulink

5 views (last 30 days)
Jack on 20 Jun 2014
Answered: Kaustubha Govind on 23 Jun 2014
I'm trying to convert a legacy simulation into Simulink; however, the old software works with 6 significant figures while Simulink uses more (10?). This causes slight deviations that integrate over time. Is there a way to specify the number of significant figures in Simulink to match the 6 sigfigs of the original software?
Thanks, Jack

Answers (1)

Kaustubha Govind
Kaustubha Govind on 23 Jun 2014
I'm not very familiar with this area, but it seems to me like you might need to replace your data types with fixed-point types?

Community Treasure Hunt

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

Start Hunting!