Insert a link to subsytem block in annotation

4 次查看(过去 30 天)
I'd like to insert a link into annotation text for another block with the same simulation simulink model, I'd reference to link (point) to it.
Is it possible to referenace for block/subsystem from annotation text in simulink, if so - how?

回答(1 个)

Jianfei
Jianfei 2025-1-23
编辑:Jianfei 2025-1-30
You can simply use an empty subsystem and create a mask to display your annotations. Then, set up an OpenFcn callback. Using hilite_system, you can link it to another block. When you double-click the subsystem, it will navigate you to the linked block.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by