How can i simulate a system that have modeled by openmodelica in matlab freely not by dymola matlab interface and fmu?

16 views (last 30 days)
Hi friends, I want to use the model that have modeled by OpenModelica in MATLAB. But i need to do this freely not by fmu MATLAB toolbox or dymola Matlab interface. Could you please guide me how? Can i generate *.dll file by openmodelica and then use this *.dll file in matlab s-function. I am a beginner in modelica. Thanks for your attention.
  7 Comments
Navid Mohammadzadeh
Navid Mohammadzadeh on 18 Feb 2020
@newtomatlab, I guess you can use OMMatlab. I have already tried to simulate a model developed in Modelica in Matlab by means of OMMatlab and it sucessfully works. However, according to my currecnt experience, it works as long as you were not supposed to add a new library. Although if you work with Modelica Standard Library, it prefectly works, now I either stuck to run the simulation of a model developed in SolarTherm Package. If you have any experience it makes me happy if you wish to share with me. Regard

Sign in to comment.

Answers (1)

MADDEPPA PUJARI
MADDEPPA PUJARI on 3 Aug 2021
@Navid Mohammadzadeh can you please explain me how we can simulate a model developed in modelica in matlab

Community Treasure Hunt

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

Start Hunting!