Insert a link to subsytem block in annotation

9 Ansichten (letzte 30 Tage)
Jack Daniels
Jack Daniels am 22 Jan. 2025
Bearbeitet: Jianfei am 30 Jan. 2025
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?

Antworten (1)

Jianfei
Jianfei am 23 Jan. 2025
Bearbeitet: Jianfei am 30 Jan. 2025
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.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by