pass a parameter to a sfunction written in

Hello everyone,
I need some help to figure out how to pass a parameter to sfunction written in C. I can't find the way (the instruction) to read the parameters that I pass from the sfunction mask.
thank a lot for read

 Accepted Answer

For C s-function you can use ssGetSFcnParam() function to access the parameter entered in S-functions dialog box.
See
>> doc ssGetSFcnParam
For other functions related to s-function dialog box see

More Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Asked:

on 29 Feb 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!