Propagate Library block UserData to linked blocks

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.

 採用された回答

Ansh Gandhi
Ansh Gandhi 2021 年 1 月 25 日

0 投票

Solved this by adding a callback that copies over 'UserData' to linked blokc from a library.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

製品

リリース

R2017b

質問済み:

2021 年 1 月 25 日

回答済み:

2021 年 1 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by