From: leaf on
For example, if some output (or intermediate) signal is too large, the
computation will terminate automatically and will try another input
signal. So it won't take as long as originally determined such as,
say, 2000 seconds. Because if the computation goes on (don't
terminate it automatically), the simulation will break down, and my
running program can't continue. So I have to termiate simulink before
signals go to Inf. Further, I want to keep the data already obtained.
Is this possible? Thanks.
From: Arnaud Miege on

"leaf" <yedong.ye(a)gmail.com> wrote in message
news:6ecb0baf-60c9-4601-8819-a72852ebe524(a)s31g2000yqs.googlegroups.com...
> For example, if some output (or intermediate) signal is too large, the
> computation will terminate automatically and will try another input
> signal. So it won't take as long as originally determined such as,
> say, 2000 seconds. Because if the computation goes on (don't
> terminate it automatically), the simulation will break down, and my
> running program can't continue. So I have to termiate simulink before
> signals go to Inf. Further, I want to keep the data already obtained.
> Is this possible? Thanks.
>

Use the stop block:
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/stopsimulation.html

HTH,

Arnaud