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

.DLL execution from inside OpenModelica

.DLL execution from inside OpenModelica

Hello,

As a newbie in OpenModelica, I would like to know if it is possible to call .DLL libraries from inside the code. In case this is possible, what elements do I need  to declare? (do I need the C code sources? Just the headers would be enough?)

Thanks in advance for any information!

Re: .DLL execution from inside OpenModelica

Use external "C" functions. Either by using the Library annotation, or by using LoadLibrary calls manually. Or just write C-code directly in Modelica source code.

Re: .DLL execution from inside OpenModelica

Can I use a "dll" (generated by Julia) in modelica? If so can you give me an example or link for that?

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