Does Simulink blocks data type affect simulation time?

1 回表示 (過去 30 日間)
Ahmad kourani
Ahmad kourani 2019 年 4 月 17 日
回答済み: Fangjun Jiang 2019 年 4 月 17 日
I have built a large Simulink model and I am wondering if using data type like 'binary' or 'uint8' when possible instead of all signals being 'double' type would save me some simulation time.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2019 年 4 月 17 日
Probably no effect. And probably causes more time since you need to resolve data type conflicts and add data type conversion.
If you don't care about data types, just use all default (double).

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by