FAST S-Function & Code Generation

Hi All,

I have the OPENFAST S-function working properly on Simulink and was trying to probe the possibility of using generated code to create a HIL environment for a wind turbine controller.
I am trying to generate code from a model that includes the S-function in order to execute it through PLCnext runtime on PXC controllers.

Every time I try to build I get the error below:

Though the same model runs fine through Simulink producing the desired result.
Am I missing something in terms of code generation and S-function?

Thanks in advance.

Dear @Vaggelis.Bezos,

I’m not familiar with how to interface the OpenFAST S-Function for Simulink through PLCnext runtime on PXC controllers. Hopefully someone else can help.

Perhaps the following forum topics are useful for you:

Best regards,

1 Like