Borrar filtros
Borrar filtros

How to solve the error: 'Undefined function or variable 'aviread''

2 visualizaciones (últimos 30 días)
Aparna Mohan
Aparna Mohan el 9 de Mayo de 2019
Comentada: Stephane Dauvillier el 9 de Mayo de 2019
I'm trying to run an old Matlab file which uses the function 'aviread'. I searched for the function in File Exchange but could not find it. I tried to use VideoReader instead of aviread. But it doesn't seem to have the the property 'cdata'.

Respuestas (2)

Stephane Dauvillier
Stephane Dauvillier el 9 de Mayo de 2019
Which version have you ?
aviread have been deprecated bfor releases before being removed completelly in the R2014b release. You have to use VideoReader function instead

Walter Roberson
Walter Roberson el 9 de Mayo de 2019
You will need to downgrade your MATLAB to about r2012a to duplicate the functionality of aviread.
We suggest that you consider modifying the code to use VideoReader and readframe, or the computer vision toolbox VideoFileReader which is designed for effecient streaming of frames.

Categorías

Más información sobre Data Import and Export en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by