主要内容

ssGet金宝appSimulinkFunctionOutput

获取一个指向传递给Simulink函数的输出参数的指针。金宝app

语法

real_T ssGet金宝appSimulinkFunctionOutput(ssFcnCallExecArg execArgs, int_T outArgIdx)

参数

年代

表示s -功能块的SimStruct。

execArgs

信息参数。

outArgIdx

输出参数的索引。

返回

指向输出参数的指针。

描述

#定义Y0 (* (real_T *) ssGetSi金宝appmulinkFunctionOutput (args, 0))

语言

C, c++

例子

该模型sfcndemo_金宝appsimulinkfunction_getset是一个s函数示例,它使用两个作用域的Simulink函数用get和set方法建模对象。金宝app

介绍了R2018a