Multiple Simulink models in one system

2 visualizzazioni (ultimi 30 giorni)
Ayman
Ayman il 4 Gen 2023
Commentato: Ayman il 5 Gen 2023
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?

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 4 Gen 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 Commenti
Fangjun Jiang
Fangjun Jiang il 5 Gen 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 il 5 Gen 2023
Thank you for your feedback. I think that this will solve the issue of integrating the models.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Troubleshooting in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by