Simulink: add_line - how to assign signal label position

16 views (last 30 days)
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

Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!