How do I avoid "Signal Label Mismatch" warnings when using library blocks in several places?
35 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like to use library blocks that have a generic output label (e.g. "value") many times in the model. If they get connected to a differently named input port or signal there is a signal label mismatch warning. Is there a way to avoid theese warnings beside using a Signal Convertion (Signal Copy) block, which is a lot of effort. Same issue with Outputs of Stateflow models. But I don't want to diable the signal label mismatch warnings in general.
1 Commento
Davide Frey
il 26 Feb 2019
I am encountering as well this problem, have you managed to fix it somehow in the meantime?
Thanks,
Davide
Risposte (1)
Fangjun Jiang
il 26 Feb 2019
Don't lable the output inside the library block. That is the only solution if you don't want to disable the warning. You can label the signal outside of the library block.
1 Commento
Davide Frey
il 28 Feb 2019
Thanks!
Another option I've found is to use the "Signal Conversion" block. After that you can specify another label.
Vedere anche
Categorie
Scopri di più su Simulink Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!