I have this in the S-function Libraries pane
Library/Object/Source fileconvert_ok Include files and external function declarations#include <math.h>#include <stdio.h>#include <string.h>
I call the function in the Output pane
y[0]=Convert(u[0])
*Note: Convert() is a function inside the convert_ok.c source file. During compilation and building the S-function, it gives me the following error ' undefined reference to _Convert' at the y[0]=Convert(u[0]) line in the wrapper file. What is the problem? How can i make this work?
Best Answer