How do you get the size of a file in MATLAB?

前端 未结 7 1847
耶瑟儿~
耶瑟儿~ 2020-12-09 07:36

What is the best way to figure out the size of a file using MATLAB? The first thought that comes to mind is size(fread(fid)).

7条回答
  •  孤城傲影
    2020-12-09 08:13

    Easy way to find size of file is: enter these cammands

    K=imfinfo('filename.formate');

    size_of_file=K.FileSize

    and get size of file.

提交回复
热议问题