获取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.
。