点击十字路口
Detect crossing point
- Library:
金宝app模拟 /不连续性
金宝appSimulink /消息和事件
HDL编码器 /不连续性
simevents
描述
The点击十字路口块检测输入何时到达点击交叉偏移parameter value in the direction specified by the点击交叉方向property.
您可以配置块以输出1
或者0
signal, a SimEvents®message, or a function-call event. SeeOutput了解更多信息。
端口
输入
Output
Parameters
块特征
Data Types |
|
直接进料 |
|
多维信号 |
|
Variable-Size Signals |
|
零交叉检测 |
|
提示
如果是点击十字路口块配置为输出simevents消息和输出信号:
Crosses into or out of a referenced model
Is fed to the input of a Stateflow chart
then you need to create a bus object for the message signal. In the MATLAB Command Window, run金宝appSimulink.CreatehitCrossmessage
to check for and, if needed, create a hit crossing message bus object in the base workspace.
将相应端口的数据类型设置为Bus: HitCrossMessage
。