From: John Quincy on
Is it possible to look at the past values of a simulink signal. Like if I wanted to look at the value of my signal for the previous sample would that be possible in simulink?
From: Steven Lord on

"John Quincy" <q.john92(a)gmail.com> wrote in message
news:hr705d$n35$1(a)fred.mathworks.com...
> Is it possible to look at the past values of a simulink signal. Like if I
> wanted to look at the value of my signal for the previous sample would
> that be possible in simulink?

Look at the various blocks with Delay in their names. For example, from the
Continuous library there are Transport Delay and Variable Time Delay,
Discrete has Unit Delay and Integer Delay, and I'm sure there are others.

http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/f4-4889.html

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


 | 
Pages: 1
Prev: GUI data in variable
Next: Image Coordinates