I am trying to utilize the new model workspace feature in Simulink 6.0 (R14) to store initialization variables at the model level. This would be very convenient for me to ensure all variables are self-contained in the model.
However, when I attempt to configure the storage class code generation options for these variables, Real-Time Workshop only looks in the base workspace, and the parameters associated with the model workspace variables cannot have their storage class configured. Note that this limitation eliminates the convenience gained in including the variables as self-contained variables in the model workspace.
Is there any way around this? Can I declare the Real-Time Workshop storage class of variables contained in the model workspace?
Best Answer