Dynamic memory allocation problem

4 views (last 30 days)
Mohammad
Mohammad on 7 Jan 2022
Commented: Nils Meyer on 30 May 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 Comment
Nils Meyer
Nils Meyer on 30 May 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

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!