Create variable interface sizes in System Composer
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Brad
am 6 Apr. 2024
Kommentiert: Josh Kahn
am 15 Apr. 2024
I would like to use System Composer to perform design trades, but to do so I need to be able to easily change interface definitions. Perferably, I would like the ports to inherit the data types and shapes sent to them like a Simulink subsystem does. However, when I try to add a test harness to a system composer block and send it data from a MATLAB workspace, it balks at a difference in port sizes.
Can System Composer interface definitions be made to truly inherit dimensions and types like Simulink models can?
0 Kommentare
Akzeptierte Antwort
Josh Kahn
am 10 Apr. 2024
One way is to save the architecture as a Subsystem reference architecture:
The recommended workflow is to use variants to define your design choices and then choose the appropriate variant during your trade study (see Create Variants on the same page). Variant component choices can have different interface and port configurations as long as any connected interfaces and ports align.
Hope this helps!
Josh
2 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!