Simulate with Flush to Zero to Avoid Pains in Model-Based Design Workflows | Coder Summit
From the series: Coder Summit
When your model and generated code results do not match, denormal numbers may be the cause.
Flush-to-zero math, in particular, is a common cause for mismatches since gradual underflows used in simulation are not often used in embedded systems.Most embedded design uses Flush to zero for faster math.
Learn how new features in Fixed-Point Designer™ let you use gradual underflow for plant of environment models, and Flush to zero for your embedded algorithms.
This approach provides the best numerical accuracy for system simulation, while providing more optimized code that matches your embedded system.
Published: 30 Oct 2019
Related Products
Learn More
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)