From: Krzysztof on
Hello

I need to generate C code from simulink model of control system for PLC controller with processor supporting C.

I have libraries with functions for inputs and outputs supplied by manufacturer.

My question is how can i use those functions in simulink model?

I'm trying to implement them in S-function (using builder). But i can't build s-function i get this error, even i'm trying to link libraries every way possible.

Writing library for tester.mexw32
c:\users\time\appdata\local\temp\mex_ou~1\tester_wrapper.obj .text: undefined reference to '_QBF_Open'

Thanks.