Error during simulation when using other storage class than SimulinkGlobal

1 Ansicht (letzte 30 Tage)
Matthias
Matthias am 28 Jan. 2016
Bearbeitet: Matthias am 28 Jan. 2016
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

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by