Simulink: add_line - how to assign signal label position

조회 수: 6 (최근 30일)
Kevin
Kevin 2013년 10월 4일
댓글: Kevin 2013년 10월 4일
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