Propagate Library block UserData to linked blocks

1 vue (au cours des 30 derniers jours)
Ansh Gandhi
Ansh Gandhi le 25 Jan 2021
Hi,
I have come across a situation where I need to propagate the UserData of a library block downstream to the linked blocks when the library is updated.
I dont think it happens automatically since I can see a discrepancy between my updated library block and the linked block when i use get_param.
Help appreciated, thanks!
MATLAB 2017b.

Réponse acceptée

Ansh Gandhi
Ansh Gandhi le 25 Jan 2021
Solved this by adding a callback that copies over 'UserData' to linked blokc from a library.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by