Dynamic memory allocation problem

7 visualizzazioni (ultimi 30 giorni)
Mohammad
Mohammad il 7 Gen 2022
Commentato: Nils Meyer il 30 Mag 2022
I have a simulink model in which I need to use dynamic memory allocation ro run the model.
For some reason, in the config. dialog box the "dynamic memory allocation for MATLAB functions" is grayed out and I cannot enable it.
Any idea is appreciated.
  1 Commento
Nils Meyer
Nils Meyer il 30 Mag 2022
had the same problem. installed simulink coder and matlab coder. then in "code generation" below "simulink target" i selected grt (generic real time target). now it works

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by