Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Prevent Matlab Coder from making temp arrays into global arrays

1 visualización (últimos 30 días)
Jim Clay
Jim Clay el 19 de Nov. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentario
Arnab De
Arnab De el 21 de Nov. de 2012
Can you please post some MATLAB code where you see this behaviour?

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by