Simulink: add_line - how to assign signal label position
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
Respuestas (0)
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!