Connect two blocks in a subsytem

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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSchedule Model Components についてさらに検索

製品

タグ

質問済み:

2015 年 5 月 27 日

コメント済み:

2016 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by