Dynamic memory allocation problem

7 次查看(过去 30 天)
Mohammad
Mohammad 2022-1-7
评论: Nils Meyer 2022-5-30
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 个评论
Nils Meyer
Nils Meyer 2022-5-30
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

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by