Invalid Simulink object name
Mostra commenti meno recenti
I am trying to delete the connecting line between two Simscape blocks using
>> delete_line('PressureGUI','LeakageValve2/1','LeakageValve/1')
where PressureGUI is the name of my Simulink model, LeakageValve2 and LeakageValve are Simscape Valves and the 1s denote the corresponding ports. I have checked the length of the names by using the gcb and length commands. There are no additional blanks in the names.
What am I doing wrong? Thank you!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Programmatic Model Editing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!