Error during simulation when using other storage class than SimulinkGlobal

2 views (last 30 days)
Hello!
We have a Signal SIG_OUT in our model with storage class "Interface". This Signal writes on a Simulink.Signal representing a GlobalDataStore, so the DataStoreWrite blocks has as Data Store Name SIG_OUT as well. So when simulating the model we get the error
Potential conflicting usages of identifier 'sig_out': the alias of the signal connected to output port 1 of the block 'SIM_PRJ_TQLO/PRJ_TQLO/TQLO/modules_TQLO/TQLO_ACTCOUNT/SignalManager1/Merge', and a global data store memory with that alias (SIG_OUT)
We also tried e.g. ExportedGlobal which also Fails. But when we change the StorageClass to SimulinkGlobal the simulation runs. We would be happy if you could explain us the behaviour of Simulink here because it would be useful here to use a CustomStorageClass.
Thanks a lot!
Greetings Matthias

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!