Does Simulink blocks data type affect simulation time?

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.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 17 de Abr. de 2019
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).

Categorías

Más información sobre Prepare Model Inputs and Outputs en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 17 de Abr. de 2019

Respondida:

el 17 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by