Multiple Simulink models in one system

2 views (last 30 days)
I am creatig simscape and simulink models to apply several tasks in a mechanical system.
Can I create different models from simulink in one file (for example, creating simscape electrical with simscape fluid and simulink HDL)?
If it is possible, what are the methods of integrating them in one system?
And if not, how can I use them together to plot their results in one screen?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 4 Jan 2023
You can construct Simulink model and physical system model seamlessly in Simuink. See This example
There is PS to Simulink and Simulink to PS converter for connection.
  3 Comments
Fangjun Jiang
Fangjun Jiang on 5 Jan 2023
I know that Model reference using different solver was in the works by the Mathworks but didn't remember which version. You are in luck because it seems R2022b has it. See this example,Use Model Reference with Local Solver in DC Motor. Hope you know model reference already.
Ayman
Ayman on 5 Jan 2023
Thank you for your feedback. I think that this will solve the issue of integrating the models.

Sign in to comment.

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!