- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Generate FMI2 C code from plain .mo file
Page Start Prev 1 Next End
Generate FMI2 C code from plain .mo file
Generate FMI2 C code from plain .mo file
Jun-05-17 00:39:20
Hi all,
Is there a way I can use OMCompiler to generate FMI2 C code from a plain .mo file (without having to write a .mos file and call translateModelFMU) ?
Calling
Code:
omc --simCodeTarget=sfmi -s Model.mo
outputs a Model_FMI.cpp C++ code file exporting a FMI2 interface, but building it fails due to a missing sfmi_runtime.h that I can't find anywhere. I would like to do pretty much the same but for plain C code.
Thanks in advance.
Edited by: leonardojc - Jun-05-17 00:40:24
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Generate FMI2 C code from plain .mo file
There are 0 guests and 0 other users also viewing this topic