MATLAB: Implementing model references with SimMechanics and SimHydraulics

model referencingreferencessimmechanicsSimscapeSimscape FluidsSimscape Multibodysimulink

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!

Best Answer

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.