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 Exchange에서 Modeling에 대해 자세히 알아보기

제품

릴리스

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