Error during simulation when using other storage class than SimulinkGlobal
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!