size of video file and audio file

6 views (last 30 days)
how to find size of video file and audio filesize of video file and audio file?
i saw for audio file we can use
siz = wavread(filename,'size')
but my version does not support wavread
is there any other way to find size of both video and audio file?

Accepted Answer

Walter Roberson
Walter Roberson on 23 Apr 2019
  2 Comments
Elysi Cochin
Elysi Cochin on 24 Apr 2019
but file size means, in bytes, right? how to get that from mmfileinfo? or should i compute it?
Walter Roberson
Walter Roberson on 24 Apr 2019
dir() and look at the 'bytes' field if you just want to know the size of the file as stored on disk. bytes will not tell you anything about image size or number of channels or sampling frequency. Bytes on disk also will not directly tell you about compression efficiency.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!