Display the tag of a Simulink block from the command window ?

3 vues (au cours des 30 derniers jours)
Denis Tiliacos
Denis Tiliacos le 4 Oct 2012
Hi,
I would like to display the tag of a Simulink block from the command window.
It amounts to do that :
right click on the block -> Block Properties -> Block Annotation
-> Select %<Tag> in Block property tokens -> click on the ">>" button
and Apply
Thank you for answering me.

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 4 Oct 2012
Try:
set_param('path/to/block', 'AttributesFormatString', '%<Tag>')

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by