"SIMULINKGlobal" Storage Class is not available
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am writing to ask for assistance with an issue I am facing in Simulink. I am trying to define tunable parameters for code generation using a Data Dictionary, but the SIMULINKGlobal storage class is not available as an option.
I have already performed the following configuration and troubleshooting steps based on the documentation, but the option remains unavailable:
- System Target File: I have confirmed that the target file is set to ert.tlc in Configuration Parameters > Code Generation.
- Embedded Coder License: I have confirmed via the ver command that an active Embedded Coder license is installed and available.
- Code Interface Packaging: I have set this to Reusable function in Configuration Parameters > Code Generation > Interface.
- Root I/O Passing: I have also set Pass root-level I/O as to Part of model data structure.
The SIMULINKGlobal option is missing in all contexts, including the dropdown list in Code Mappings > Data Defaults for "Model parameters" and in the Code Generation tab of an individual Simulink.Parameter object within a Data Dictionary. I have tried several alternatives like ExportedGlobal, but I would like to use the recommended SIMULINKGlobal class for creating a tunable parameter structure.
My system configuration is:
- MATLAB Version: R2024b
- Operating System: Windows 11
- Relevant Toolboxes: Simulink, Embedded Coder
Could you please advise why the SIMULINKGlobal storage class might not be appearing despite these settings being correct? Is this a known issue, or is there another configuration step I might be missing?
Thank you for your time and assistance.
Best regards,
0 comentarios
Respuestas (1)
Abhipsa
el 18 de Jun. de 2025
Editada: Abhipsa
el 19 de Jun. de 2025
"SimulinkGlobal" storage class has been renamed to "Model Default" since R2018a.
You can refer to the below MATLAB answer provided by the MathWorks Support Team for more details:
I hope this information is helpful to you.
0 comentarios
Ver también
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!