Error during simulation when using other storage class than SimulinkGlobal
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!