Simulink: add_line - how to assign signal label position

6 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by