videoIO toolbox can be</span>
0045 <span class="comment">% found in the videoIO documentation.</span>
0046 
0047 <span class="comment">%Written by Dan Valente 8/8/07</span>
0048 
0049 <span class="comment">%Please note: Video indexes start at frame 0</span>
0050 StartFrame = FrameRange(1);
0051 EndFrame = FrameRange(end);
0052 NFrames = EndFrame-StartFrame+1;
0053 
0054 <span class="comment">%If NBackFrames is smaller than the number of frames we want to look at,</span>
0055 <span class="comment">% we'll ju