-
Dear developers, Thanks for your patience! I am trying to make some wind-turbine simulations using OpenFAST with MATLAB Simulink, but get confused when running the glue-codes. I am using Ubuntu 20.04 system which is Linux. Now I have downloaded the Github source codes and installed using "cmake" and "make" on terminal. However, I encountered errors when running Something confusing me is that, the MATLAB files (e.g. All advice is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If the cmake install directory is specified differently than what is specified in create_FAST_SFunc, you should change the variable in create_FAST_SFunc.m to the value that cmake used (or you could also change the cmake install path before building OpenFAST for Simulink). Copying the directory should do the same thing, though. This looks like a linking problem. It seems like it's not finding some of the gfortran routines. Is Matlab building this mex function with the same compiler (and same version) that you used with cmake to build the OpenFAST library for Simulink? |
Beta Was this translation helpful? Give feedback.
If the cmake install directory is specified differently than what is specified in create_FAST_SFunc, you should change the variable in create_FAST_SFunc.m to the value that cmake used (or you could also change the cmake install path before building OpenFAST for Simulink). Copying the directory should do the same thing, though.
This looks like a linking problem. It seems like it's not finding some of the gfortran routines. Is Matlab building this mex function with the same compiler (and same version) that you used with cmake to build the OpenFAST library for Simulink?