金宝appSimulink.SimulationInput类
Package:金宝app
Superclasses:
Creates模拟Input
为了更改多个或单个模拟的模型的对象
Description
TheSimulink.SimulationInput
对象允许您对模型进行更改,并通过这些更改运行模拟。这些更改暂时应用于模型。通过Simulink.SimulationInput
object, you can change:
初始状态
Model parameters
Block parameters
External inputs
变量
通过theSimulink.SimulationInput
对象,您也可以指定MATLAB®functions to run at the start and the end of each simulation by usingin.setPreSimFcn
和In.setPostSimfcn
, respectively.
Construction
creates ain
= Simulink.SimulationInput('型号名称
')模拟Input
模型的对象。
Input Arguments
Properties
方法
Method |
Purpose |
---|---|
Set model parameters to be used for a specific simulation through |
|
Set block parameters to be used for a specific simulation through模拟Input 目的。 |
|
设置初始状态,用于通过模拟Input 目的。 |
|
设置外部输入以通过模拟Input 目的。 |
|
设置变量以通过模拟Input 目的。 |
|
Specify a MATLAB function to run before start of each simulation through模拟Input 目的。 |
|
Specify a MATLAB function to run after each simulation is complete through模拟Input 目的。 |
|
Apply changes to the model specified through a模拟Input 目的。 |
|
Validate the contents of the模拟Input 目的。 |
|
Load variables from MAT-file into aSimulink.SimulationInput 目的。 |