Réponse acceptée

Kawin Kumaran
Kawin Kumaran le 5 Juil 2020

0 votes

To find the size of a file in bytes :
info = dir('video1.avi');
filesize = info.bytes;
Then to convert bytes to GB it can be done mathematically :
gb_size = filesize / (1024^3)

Plus de réponses (0)

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by