"SIMULINKGlobal" Storage Class is not available

8 views (last 30 days)
Ogulcan
Ogulcan on 17 Jun 2025
Edited: Abhipsa on 19 Jun 2025
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,

Answers (1)

Abhipsa
Abhipsa on 18 Jun 2025
Edited: Abhipsa on 19 Jun 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.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!