Simulink coder doesn't generate custom storage class code?

With the attached model and data dictionary, the generated code still put the parameter p1 in its default header file, although I specified it as custom storage class and should be "ConstVolatile".
What did I miss in the configuration?
Thanks

 Accepted Answer

change from grt to ert solves this problem.

Categories

Find more on Embedded Coder in Help Center and File Exchange

Asked:

on 14 Apr 2017

Answered:

on 12 May 2017

Community Treasure Hunt

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

Start Hunting!