I have a model containing a data store that I have to convert to C code. I would like to set the "Storage class" attribute of the data store to ExportedGlobal in order to have it defined as a global variable in the corresponding C code, however I cannot find this parameter in the mask of the Data store Memory block. Where can I find this property? Is there a different way to force some variable in the generated code to be global?
MATLAB: Data store memory storage class
code generationEmbedded CoderMATLABsimulink
Related Question
- Is it possible to perform data logging on global data store memory objects in Simulink 7.5 (R2010a)
- How to modify the signal properties from a Simulink model in Simulink 6.2 (R14SP2) from the command line
- Embedded Coder – Simulink.Parameter declaration
- Can I find where a Simulink.Signal object is stored based on a Data Store Read/Write in the model
- Comments for Simulink signals and states do not appear in the C code.
- Do I receive an error when I associate the outputs of a Signal Builder block to a Simulink.Signal object in Simulink 6.5 (R2006b)
Best Answer