Multiple Simulink models in one system

2 vues (au cours des 30 derniers jours)
Ayman
Ayman le 4 Jan 2023
Commenté : Ayman le 5 Jan 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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Troubleshooting dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by