| Writing S-Functions | ![]() |
Get a parameter of an S-Function block
Syntax
Arguments
S
SimStruct representing an S-Function block.
index
Index of the parameter to be returned.
Description
Use in any routine to access a parameter entered in the S-Function's block dialog box, where index starts at 0 and is less than ssGetSFcnParamsCount(S).
Languages
See Also
| ssGetSampleTimePeriod | ssGetSFcnParamsCount | ![]() |
© 1994-2005 The MathWorks, Inc.