- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Matlab mingw fmu not work in...
Matlab mingw fmu not work in OpenModelica
Re: Matlab mingw fmu not work in OpenModelica
Hey @lucas_luo
For someone to be able to help you answer your questions more details are needed:
What does your Matlab model look like?
How did you export the FMU (which settings, which target, what FMI version, ME or CS, ....)?
How did you import the FMU in OpenModelica?
What version of OpenModelica are you using?
Did you try to import the FMU in other tools?
In addition a minimal working example is always great, so others can replicate your problem with a few clicks and check what the error could be.
- AnHeuermann
- 52 Posts
Re: Matlab mingw fmu not work in OpenModelica
What does your Matlab model look like?
my Matlab model is csthl20_trim,you can type "open_system('csthl20_trim')" in matlab to open the model
How did you export the FMU (which settings, which target, what FMI version, ME or CS, ....)?
I try another way to export FMU,but it not works.
the new way to export the FMU by FMIKit-simulink-3.0-alpha.2,ME,CMake generator: Visual Studio 14 2015 Win64
How did you import the FMU in OpenModelica?
I import the FMU in OpenModelica, Tools->Options->Simulation, Target Build: Visual Stuidio 2015(msvc15), then simulate
error in compilation:
LINK: fatal error LNK1181: cannot open input file 'omcgc.lib'
NMAKE: fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x2' Stop.
Compilation process failed. Exited with code 0x00000002.
What version of OpenModelica are you using?
V1.19
Did you try to import the FMU in other tools?
no
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Matlab mingw fmu not work in...