Skip to content

Error Creating S-Function #1137

Answered by bjonkman
liruiqi97 asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liruiqi97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants