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

C-Code Generation

C-Code Generation

Hello,

I am completely new to OpenModelica and wanted to know whether ( and if so - how) it is possible to export C Code of equations that can be used in other applications.
For now i have used the omc-Compiler to generate C Code, but it doesnt look like i can easily integrate it into another application,

My goal is to create Problems that can be expressed as ODE in Modelica but solve the equation with a custom library.

Re: C-Code Generation

OpenModelica is able to generate FMU from specific models. This FMU can than accessed via FMI (https://www.fmi-standard.org/) from a custom libraries, maybe  also interesting a FMIL(http://www.jmodelica.org/FMILibrary).

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