Hi,
Thanks for providing this FMI toolbox for MATLAB. I have searched for some time, for an alternative to using Simulink and more conveniently use the script and command interface.
I have downloaded the files, unzipped and made the environment variables in windows. Python 2.72 and Visual Studio Community 2019 is installed.
MATLAB Version: 9.2.0.538062 (R2017a)
However, the 'fmu.instantiate' will not execute and produces an error.
Is there a way to debug this?
I have tried to export the ControlledRadiator.mo,
in Dymola with ME 1.0, 2.0 and both ME and COSim, with CVODE.
None of these seem to work.
I tried the export option also and got the following error message:
create_fmu
Warning: FMI++ export interface is not active.
In fmipputils.FMIAdapter/defineRealInputs (line 211)
In SimpleController/init (line 37)
In fmipputils.createFMU (line 65)
In create_fmu (line 22)
Warning: FMI++ export interface is not active.
In fmipputils.FMIAdapter/defineRealOutputs (line 236)
In SimpleController/init (line 41)
In fmipputils.createFMU (line 65)
In create_fmu (line 22)
FMI++ backend for co-simulation: INIT DONE.
'python.exe' is not recognized as an internal or external command,
operable program or batch file.
How can these problems be resolved?
Regards,
Njål
Last edit: Njål Tengesdal 2019-05-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, the main issue is to get the correct path to the FMU. This is still an issue, and I am really greatful if someone has some tips on this!
The path to the matlab-fmu is included in the matlab path..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Thanks for providing this FMI toolbox for MATLAB. I have searched for some time, for an alternative to using Simulink and more conveniently use the script and command interface.
I have downloaded the files, unzipped and made the environment variables in windows. Python 2.72 and Visual Studio Community 2019 is installed.
MATLAB Version: 9.2.0.538062 (R2017a)
However, the 'fmu.instantiate' will not execute and produces an error.
Is there a way to debug this?
I have tried to export the ControlledRadiator.mo,
in Dymola with ME 1.0, 2.0 and both ME and COSim, with CVODE.
None of these seem to work.
I tried the export option also and got the following error message:
How can these problems be resolved?
Regards,
Njål
Last edit: Njål Tengesdal 2019-05-27
Actually, the main issue is to get the correct path to the FMU. This is still an issue, and I am really greatful if someone has some tips on this!
The path to the matlab-fmu is included in the matlab path..
Last edit: Njål Tengesdal 2019-06-04