|
没处理过这样的问题,不过个人收集的一份资料估计对你会有用;
Re: simulink如何实时更改积分器的初值?
Resetting the State
The block can reset its state to the specified initial condition based on an
external signal. To cause the block to reset its state, select one of the E
xternal reset choices. A trigger port appears below the block's input port a
nd indicates the trigger type, as shown in this figure.
Select rising to trigger the state reset when the reset signal has a rising
edge. Select falling to trigger the state reset when the reset signal has a
falling edge. Select either to trigger the reset when either a rising or fal
ling signal occurs.
The reset port has direct feedthrough. If the block output is fed back into
this port, either directly or through a series of blocks with direct feedthr
ough, an algebraic loop results. To resolve this loop, feed the block state
into the reset port instead. To access the block's state, select the Show st
ate port check box. |
评分
-
1
查看全部评分
-
|