Connect two blocks in a subsytem
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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'.
</matlabcentral/answers/uploaded_files/31614/Model.PNG> Can you help me please. Thanks.
1 commentaire
Réponses (1)
Nobel Mondal
le 27 Mai 2015
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 commentaire
Voir également
Catégories
En savoir plus sur Subsystems dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!