| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Image Acquisition Toolbox |
| Contents | Index |
| Learn more about Image Acquisition Toolbox |
flushdata(obj)
flushdata(obj,mode)
flushdata(obj) removes all the data from the memory buffer used to store acquired image frames. obj can be a single video input object or an array of video input objects.
flushdata(obj,mode) removes all the data from the memory buffer used to store acquired image frames, where mode can have either of the following values:
Mode | Description |
|---|---|
'all' | Removes all the data from the memory buffer and sets the FramesAvailable property to 0 for the video input object obj. This is the default mode when none is specified, flushdata(obj). |
'triggers' | Removes data from the memory buffer that was acquired during the oldest trigger executed. TriggerRepeat must be greater than 0 and FramesPerTrigger must not be set to inf. |
getdata | imaqhelp | peekdata | propinfo | videoinput
![]() | disp | get | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |