-
I am trying to operate the glue code for Simulink on MacBook. Before doing this, I have to create the s-function by running However, I am confused what should I set for the directories, e.g. the variables |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Ideally, you wouldn't have to edit those directories in the create_FAST_SFunc.m file, but there have been some changes with Matlab on MacOS (and possibly the OpenFAST cmake defaults), so they may not be set to the correct defaults. |
Beta Was this translation helpful? Give feedback.
The
installDir
refers to the directory from the cmakeinstall
process where it copied theopenfastlib
library and associated files it needs to run. See section 2.2.4.2.2 of the OpenFAST documentation for how to setCMAKE_INSTALL_PREFIX
.Ideally, you wouldn't have to edit those directories in the create_FAST_SFunc.m file, but there have been some changes with Matlab on MacOS (and possibly the OpenFAST cmake defaults), so they may not be set to the correct defaults.