文件

ssgetsfcnparam.

获取S函数块的参数

句法

const mxarray * ssgetsfcnparam(simstruct * s,int_t索引)

争论

S.

Simstruct代表S函数块。

指数

要返回的参数的索引。

回报

指针(const mxarray *)到由此指定的S函数参数的值指数

描述

在任何例程中使用以访问在S函数块参数对话框中输入的参数,其中指数从0开始,小于ssgetsfcnparamscount(s)

语言

C,C ++

例子

看到s函数stvctf.c.用于sfcndemo_stvctf.和S函数sfun_atol.c.用于sfcndemo_sfun_atol.

也可以看看

ssgetsfcnparamscount.

在R2006A之前介绍