MATLAB: Is it possible to perform code generation using the ‘From Video Device’ block provided by Image Acquisition Toolbox 2.1 (R2007a)

acquisitionblockcodedevicefromgenerationimageImage Acquisition Toolboxinputr2007asimulinktoolboxvideo

I would like to get information on the capabilities of new 'From Video Device' block and the obsoleted 'Video Input' block.

Best Answer

Starting with Image Acquisition Toolbox 2.1 (R2007a), there is a new Simulink block called "From Video Device". This block supports all hardware that is supported by Image Acquisition Toolbox. This block also supports Simulink Accelerator Mode and Model Referencing. However, it does not support deployable code generation.
Prior to the R2007a release, the Simulink block library consisted of the "Video Input" block. This block has now been obsoleted with R2007a. The functionality and range of hardware supported by this block is much less than the new "From Video Device" block. However, this block supports deployable code generation. Though this block has been obsoleted, it can still be accessed by using the following command:
imaqlibobsolete
at the MATLAB command prompt.