Error during simulation when using other storage class than SimulinkGlobal
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!