"SIMULINKGlobal" Storage Class is not available

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,

Réponses (1)

Abhipsa
Abhipsa le 18 Juin 2025
Modifié(e) : Abhipsa le 19 Juin 2025

0 votes

"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.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Version

R2024b

Question posée :

le 17 Juin 2025

Modifié(e) :

le 19 Juin 2025

Community Treasure Hunt

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

Start Hunting!

Translated by