CATIA-Systems / FMIKit-Simulink

Import and export Functional Mock-up Units with Simulink
Other
157 stars 51 forks source link

Support "ExportedGlobal" storage class #185

Closed fajansen closed 4 years ago

fajansen commented 4 years ago

Example sent via E-Mail

fajansen commented 4 years ago

Thanks for the fast improvement. Since writing the ticket I found out how to set the storage Class also for signals. Either programmatically ph=get_param(blockname,'PortHandles'); set_param(ph.Outport,'StorageClass','ExportedGlobal'); or manually (right click on signal, Properties, Code Generation, Storage class Exported Global - Signal must have a name for this to work). Can you also support this?

t-sommer commented 4 years ago

@fajansen, can you please open a new issue and attach an example model?