Significant Figures in Simulink

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

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2014-6-23

0 个投票

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?

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by