设置块参数用于特定的模拟通过SimulationInput
对象,在
在= in.setBlockParameter (
在指定的块上设置参数“BlockPath”
,“ParameterName”
,“价值”
,...“BlockPathN”
“ParameterNameN”
,“家”
)BlockPath
与属性ParameterName
和价值
.你可以使用setBlockParameter
方法指定模型引用层次结构中的块参数。您可以在一个模型中使用相同的块参数设置多个块参数SimulationInput
对象。
您可以使用getBlockParameter(“BlockPath”、“ParameterName”)
方法获取块参数的值和removeBlockParameter(“BlockPath”、“ParameterName”)
方法删除块参数万博1manbetx仿真软件。SimulationInput
对象。
万博1manbetx仿真软件。SimulationInput
|parsim
|applyToModel
|setModelParameter
|setInitialState
|setExternalInput
|setVariable
|验证
|setPreSimFcn
|setPostSimFcn
|loadVariablesFromMATFile
|仿真管理器