Simulink: add_line - how to assign signal label position

6 visualizzazioni (ultimi 30 giorni)
Kevin
Kevin il 4 Ott 2013
Commentato: Kevin il 4 Ott 2013
I'm using add_line to add signal lines to a Simulink model from a m-file.
With set_param(line_handle, 'Name', 'Name of the Signal') I can add a name to the signal that is displayed by the name label.
How can I change the position of this label?
By default it is located below the line at the outport of the origin block but I need it below the line at the destination block.
get(line_handle) lists all parameters of the line object but it doesn't seem to have a parameter for the position of the label.
Can anyone help?
Thanks
Kevin

Risposte (0)

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by