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

Call Modelica from C/Java/Scala...

Call Modelica from C/Java/Scala...

Can I call Modelica code which describe a kinematic system from my C/Scala applications? How to do this?

Re: Call Modelica from C/Java/Scala...

Hi,

From what I guess what you want to do is model the system in Modelica, generate code for it and then call it from C or Scala.
Or is it something else?

You could use:
- FMI (and call the dll via some jni)
- interactive (tcp/ip with the simulation process)

Cheers,
Adrian Pop/

Re: Call Modelica from C/Java/Scala...

Thanks!
Now I know what I will google. :-)

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