From: Marno on
Hi,

I want to use a s-function for my 3D lookup table. There is an example under simulink/src. Here, I've found the following file:

table3.c

I copied the file to my work directory.

Then s-function name is table3

I think the following step is to fill in the parameters, but I don't have any. I want to have inputs, which are coupled to my model.

Now, I want 3 input vectors x,y and z and furthermore I want to be able to load the table data extern (like a .mat file or from a constant simulink block...).

Can anybody help me?