Insert a link to subsytem block in annotation

5 vues (au cours des 30 derniers jours)
Jack Daniels
Jack Daniels le 22 Jan 2025
Modifié(e) : Jianfei le 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?

Réponses (1)

Jianfei
Jianfei le 23 Jan 2025
Modifié(e) : Jianfei le 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.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by