Effacer les filtres
Effacer les filtres

Code Generation Simulink

2 vues (au cours des 30 derniers jours)
Juri Minxha
Juri Minxha le 3 Avr 2011
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?

Réponse acceptée

Arnaud Miege
Arnaud Miege le 4 Avr 2011
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

Plus de réponses (0)

Catégories

En savoir plus sur Architecture and Component Design dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by