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