setPreSimFcn
指定一个MATLAB函数在开始每个模拟之前运行SimulationInput
对象,在
描述
in = in. setpresimfcn (@
在每个模拟开始之前运行。的x
) myfunction (Arg1, arg2…
))金宝app仿真软件。SimulationInput
对象作为参数传递x
对这个函数。myfunction
是任意MATLAB®函数,可用于修改金宝app仿真软件。SimulationInput
对象。如果你使用myfunction
修改金宝app仿真软件。SimulationInput
对象,则必须返回金宝app仿真软件。SimulationInput
对象作为唯一的输出参数。
输入参数
另请参阅
金宝app仿真软件。SimulationInput
|parsim
|applyToModel
|setBlockParameter
|setModelParameter
|setInitialState
|setExternalInput
|setVariable
|验证
|setPostSimFcn
|loadVariablesFromMATFile
|仿真管理器
在R2017a中引入