custom number of the inputs 4 C sfunction
Show older comments
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?
1 Comment
grapevine
on 24 Apr 2012
Accepted Answer
More Answers (0)
Categories
Find more on Create C/C++ S-Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!