Does keeping a parallel states in state flow mandates that ECU in which your code should be dumped should be multi core

조회 수: 1(최근 30일)
Does keeping a parallel states in model mandate that ECU in which your code should be dumped should be multi core. Is it necessary to have multicore ECU to dump code generated from state flow that have parallel states. i am new to matlab spare me if i am wrong

답변(1개)

Muthukumar Ganesan
Muthukumar Ganesan 2022년 7월 27일
Hi,
No, single core is enough. Please don't think it is parallel processing, the content of all the parallel states will be executed in a sequence.
Parallel state refers that all the states will be active in a single sample time. If you visualise interms of C code, content of all the parallel states will be executed in a sequence in a given sample time.
Thanks.

범주

Find more on Stateflow in Help Center and File Exchange

태그

Community Treasure Hunt

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

Start Hunting!

Translated by