Is there a function that does the reverse of moveToDesignData?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Brad
am 13 Mär. 2025
Beantwortet: Josh Kahn
am 18 Mär. 2025
I have a large number of Simulink.Bus objects I use as ports for Simulink subsystems. I created them programatically in the Design Data section of my data dictionary. However, we also have a System Composer model, but it cannot see them as Interfaces because they exist in Design Data rather than Architectural Data.
How can I programmatically (without brute forcing interface and interface element creation) move / create the interfaces from my design data section to the Architectural Data section?
There is a moveToDesignData function that goes from Architectural Data to design data, but I cannot find a programatically accessible function that does the reverse. The capability exists through the model explorer as a right-click menu option, but I cannot find a function for it.
0 Kommentare
Akzeptierte Antwort
Josh Kahn
am 18 Mär. 2025
Can you send me a message with your email and I can send you a function that I think will help? We also created an enhancement request to document a user-facing function for accomplishing this.
Josh
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu System Composer 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!