Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Matlab/Simulink and OpenModelica

Matlab/Simulink and OpenModelica

Hi!

I wanted to compare the models I have created in OMEdit to my models created in Matlab/Simulink!

When I simulate in OMEdit I can choose an Output Format and an (optional) File Name! But where is this file saved, so I can load it into Matlab/Simulink?

Is there another possability??

Thanks, cheers, Fabian

Re: Matlab/Simulink and OpenModelica

Hi,

The file is created in the working folder of OMC. The easiest way to find out that folder is,

Go to Tools->OMC Logger and then send command cd(). It will print the current working directory.

Adeel.

Re: Matlab/Simulink and OpenModelica

Many Thanks! I looked for this since weeks now! Thank you!!

Re: Matlab/Simulink and OpenModelica

Hello again!

I've only got one remaining problem! Where can I find which parameter in my matrix in matlab/simulink is which parameter in modelica? is there any lining up?
and anther one: my x axis has a wrong scale.
when i simulate for 20 secondes in omedit, in matlab the omedit simulation seems to simulate for 200 seconds. matlab file and omedit file don't fit.... current/hmm
anybody knows these problems?
Thanks!

There are 0 guests and 0 other users also viewing this topic
You are here: