This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Specify MATLAB file executed when specified number of frames have been acquired


The FramesAcquiredFcn specifies the MATLAB® file function to execute every time a predefined number of frames have been acquired.

A frames acquired event is generated immediately after the number of frames specified by the FramesAcquiredFcnCount property is acquired from the selected video source. This event executes the MATLAB file specified for FramesAcquiredFcn.

Use the FramesAcquiredFcn callback if you must access each frame that is acquired. If you do not have this requirement, you might want to use the TimerFcn property.

Frames acquired event information is not stored in the EventLog property.




Data type

Character vector, function handle, or cell array


The default value is an empty matrix ([]).

Was this topic helpful?