Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Prevent Matlab Coder from making temp arrays into global arrays

1 Ansicht (letzte 30 Tage)
Jim Clay
Jim Clay am 19 Nov. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am using Embedded Coder to turn Simulink models into C. It appears, though, that Embedded Coder uses Matlab Coder on the Matlab Function blocks. This would be fine, except Matlab Coder makes temporary arrays (e.g. arrays inside of sub-functions) into globals. Is there any way to prevent this?
  1 Kommentar
Arnab De
Arnab De am 21 Nov. 2012
Can you please post some MATLAB code where you see this behaviour?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by