在matlab调用什​么函数可以让Simu​link模型中的Li​ne自动调整?

在simulink中,选中线后,可以使用“自动布线”,令凌乱的线重新布局。
我希望找到响应的编程接口。
只是对某一条线进行自动布局,而不是整个模型!

 Respuesta aceptada

kei hin
kei hin el 28 de Feb. de 2024
Editada: kei hin el 28 de Feb. de 2024

0 votos

line = find_system(gcs, 'SearchDepth', 1, 'FindAll', 'on', 'Type', 'line', 'Selected', 'on');
or
get_param(gcb,'LineHandles')

2 comentarios

Shangjun Xie
Shangjun Xie el 1 de Mzo. de 2024
Thanks for sharing the information with me
Xiaoning.Wang
Xiaoning.Wang el 7 de Jul. de 2024
这个只是选中了线,并没有解释如何自动布局

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 代码生成 en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 25 de Feb. de 2024

Comentada:

el 7 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!