필터 지우기
필터 지우기

Connect two blocks in a subsytem

조회 수: 2 (최근 30일)
Nedra Ebdelli
Nedra Ebdelli 2015년 5월 27일
댓글: Vinay Sheshadri 2016년 8월 20일
I want to connect two blocks in a subsystem but i get this error: ??? Error using ==> in at 6 Invalid Simulink object name: Mtest/Subsystem/Logical Operator/1
My code is the following:
load_system('C:\Users\...\Desktop\Mtest')
add_line('Mtest','Mtest/Subsystem/Logical Operator/1','Mtest/Subsystem/Proof Objective4/1','autorouting','on')
save_system('Mtest')
Or my model contain block Logical Operator in ths Subsystem 'Subsystem'.
  댓글 수: 1
Vinay  Sheshadri
Vinay Sheshadri 2016년 8월 20일
I have the same problem. Did you find the fix ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Nobel Mondal
Nobel Mondal 2015년 5월 27일
Hi Nedra,
I couldn't load the image you have attached. You could give this a try:
add_line('Mtest/Subsystem', 'Logical Operator/1', 'Proof Objective/1','autorouting','on')
Hope this helps.
Nobel.
  댓글 수: 1
Nedra Ebdelli
Nedra Ebdelli 2015년 5월 27일
편집: Nedra Ebdelli 2015년 5월 27일
Hi Nobel,
Good ,it work .
Thank you
Nedra.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by