MATLAB: Custom number of the inputs 4 C sfunction

c sfunctionparameterread an external parameter

Hello everyone,
I need to write a sfunction in C with a custom number of the inputs, I found a way to do it with an m-file using this instructions
lengthInp=block.DialogPrm(1).Data;
y= block.InputPort(1).Data;
But I need to write a sfunction in C. Does anyone know to what these instruction correspond in C?

Best Answer

This my reply to your comment here not help?