simulink仿真
请教高人:simulink仿真模型中,怎样搭建模块或编写函数可以实现在特定时刻,将某一个积分计算的结果作为下一时刻其它积分的初值。simulink仿真
自己建立的模型。要求仿真振动系统在气压压力作用下的振动特性,请高手帮忙检查模型是否有错误。本人邮箱qyln2008@163.com 没处理过这样的问题,不过个人收集的一份资料估计对你会有用;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]