指定一个MATLAB函数运行前,每个模拟通过开始SimulationInput
对象,在
在= in.setPreSimFcn (@ (
在每次模拟开始之前运行。的x
) myfunction (__arg1、最长……
))金宝app仿真软件。SimulationInput
对象作为参数传递x
这个函数。myfunction
MATLAB是任何®函数,可用于修改金宝app仿真软件。SimulationInput
对象。如果你使用myfunction
修改金宝app仿真软件。SimulationInput
对象,则必须返回金宝app仿真软件。SimulationInput
对象作为唯一的输出参数。
金宝app仿真软件。SimulationInput
|parsim
|applyToModel
|setBlockParameter
|setModelParameter
|setInitialState
|setExternalInput
|setVariable
|验证
|setPostSimFcn
|loadVariablesFromMATFile
|仿真管理器