Does a stateflow chart make the model slower?

조회 수: 8 (최근 30일)
Dhruv
Dhruv 2014년 1월 16일
답변: Kaustubha Govind 2014년 3월 25일
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

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 3월 25일
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

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by