How do I avoid "Signal Label Mismatch" warnings when using library blocks in several places?

35 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Fangjun Jiang
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.

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!

Translated by