Does a stateflow chart make the model slower?

I am using a Real Time system in which I want to add a simple stateflow chart. The other option is to use a complex combination of simulink blocks.
So the question is does the stateflow make my model slower to operate (after compiling)?
-Dhruv

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 25 de Mzo. de 2014

0 votos

I don't think there is a general answer to the question of whether a Stateflow chart might be slower in execution compared to an equivalent set of Simulink blocks. I would imagine that the answer varies based on how both are implemented.
However, here are some tips on improving Stateflow performance: Stateflow>Speed Up Simulation

Categorías

Más información sobre Decision Logic en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 16 de En. de 2014

Respondida:

el 25 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by