Implementing model references with SimMechanics and SimHydraulics
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Maximilian
am 25 Nov. 2013
Kommentiert: Jesus Quesada
am 11 Feb. 2019
Hello
Is there a way to use Simulink model referencing to reference a SimMechanics model that contains Body CS ports and general purpose SimMechanics ports? I am working on a large scale model that contains numerous SimMechanics and SimHydraulic systems and I would like to componentize the system as much as possible.
Thanks!
0 Kommentare
Akzeptierte Antwort
Guy Rouleau
am 27 Nov. 2013
Maximilian, componentizing is always a good idea!
With Simscape and SimMechanics, the physical network cannot cross atomic boundaries (this includes model reference).
In that case, you have only one option, Libraries:
Create one library file per component. That way they can be developed by individual developers and reused in many places.
1 Kommentar
Jesus Quesada
am 11 Feb. 2019
Hi
Do libraries in simscape support parameterized variants? I am trying for some of these components to be different variants depending on the instance (reusable libraries).
I know this is easy to do with model reference as each instance has its own "workspace".
Thanks
Weitere Antworten (2)
Zack Peters
am 25 Nov. 2013
Hi Maximilian,
Currently there is no way to pass the port across a model boundary. If you are just looking to componentize your model, is there a reason that a subsystem would not work for your situation? I would recommend using subsystems if you are trying to componentize your model in the physical domain.
~Zack
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!