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

FMU Export for Simulink Model

FMU Export for Simulink Model

Hi everyone,
for my master thesis I want to use an already existing OpenModelica (v1.13.2) Model to do a FMU 2.0 export.
Since I'm using the Modelon Toolbox to integrate the FMU into Matlab/Simulink, the FMU must include the source files.
I'm quite new to OpenModelica, so maybe someone can answer the following questions:

1) Are the source files by default included in the FMU or is it possible to do this with OpenModelica?
2) Does anyone have some experience with the Modelon FMI Toolbox?

I'm looking forward to your answers.
Best regards
Philipp

Re: FMU Export for Simulink Model

1) Yes, they are. In the latest nightly we also set the SourceFiles parts in the XML so the importer knows which files to compile. You still need to set predefined values using -DXXX if you need to tweak something for the target (usually done by a configure script).

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