|
Devdatt Lad <Devdatt.Lad@mathworks.com> wrote in message
<g35tm1$jn9$1@fred.mathworks.com>...
> peter yamo wrote:
> > I am running long simulations, say 30 simulated seconds. Could anybody
please
> > let me know how to save all the data, say only from the 25-28th
simulated
> > seconds? Can this method be applied to the scope/"to workspace"/"to
file"
> > blocks? Thanks.
>
> Put your Sink block inside an enabled subsystem and provide an enable
> signal that is high at those times of interest.
>
> --
> Devdatt Lad
> The MathWorks, Inc.
I have been trying to do this but it still does not work. I also tried triggered
subsystem and if subsystem but no luck. For example, I have one of these
subsystem in between a joint block and a "To workspace" block. I still get the
joint data during the entire simulation even I specified that the data be saved
to workspace only during a shorter time period. Perhaps I misunderstood
something. Could you please provide an example?
|