Dynamic memory allocation problem

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 Kommentar

Nils Meyer
Nils Meyer am 30 Mai 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Gefragt:

am 7 Jan. 2022

Kommentiert:

am 30 Mai 2022

Community Treasure Hunt

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

Start Hunting!

Translated by