- Define the parameters as "Simulink.Parameter" objects directly in the model workspace and set their "StorageClass" to "ExportedGlobal".
- Convert the model to use a data dictionary, store all the parameters in the dictionary and set the storage class as needed.
- Simulink.Parameter: https://www.mathworks.com/help/simulink/slref/simulink.parameter.html
- Data dictionary: https://www.mathworks.com/help/simulink/ug/what-is-a-data-dictionary.html