Code Generation Simulink

조회 수: 6 (최근 30일)
Juri Minxha
Juri Minxha 2011년 4월 3일
I have a Simulink model that uses a few blocks from the Signal Processing Blockset, specifically the Digital Filter Design FDATool block. When I simulate my model, does Simulink automatically generate C code for this block or is this something that I have to tell it to do?

채택된 답변

Arnaud Miege
Arnaud Miege 2011년 4월 4일
If you run in Normal mode, then Simulink runs interpretatively, without generating any C code, except for the parts of your model that use Stateflow charts or Embedded MATLAB function blocks.
However, if you run in Accelerator or Rapid Accelerator mode, then Simulink generates C code from the model before running it. For more details, see Accelerating Models in the Simulink documentation.
HTH,
Arnaud

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Architecture and Component Design에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by