How do I copy the ports of a Simulink model
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I want to copy the in/out ports of a Simulink model to another new Simulink model using a Matlab Script.
Basically, I want to open a model, view its ports, and copy ONLY those ports to another model which will be created in the same Matlab Script.
0 Kommentare
Antworten (1)
Mark McBroom
am 15 Mär. 2018
Use find_system(), new_system(), add_block() and save_system()
1 Kommentar
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!