Disk usage

버전 1.1.0.0 (1.99 KB) 작성자: Igor
Queries free and total space of a volume
다운로드 수: 795
업데이트 날짜: 2013/5/28

라이선스 보기

%DISK_FREE return free disk space for specified folder in bytes (double)
% INPUT ARGUMENTS:
% * some_path - string, existing file or folder path. Should be global.
%
% USAGE:
% * disk_free('C:\temp'); % regular usage
% * disk_free('C:\temp\1.txt'); % path points to a file
% * disk_free('\\?\C:\temp'); % UNCW path
% * disk_free('\\\\C:\temp'); % UNCW path with with java-style prefix
% * disk_free('\\IMP\Ctemp'); % samba share folder
% *
%
% INVALID USAGE:
% * disk_free('\\IMP'); % samba share root. Results in error.
%
% * disk_free('C'); % Use 'C:' instead. Results in error.
%
% * disk_free('disk_free') % Matlab function. Results in [0 0 0]
% % or some other result, if corresponding
% % local file was found.
% % i.e. don't use local paths!
%
% NOTE:
% Would result in an error for an empty DVD-rom drive (disk not inserted).
% And similar cases.

인용 양식

Igor (2024). Disk usage (https://www.mathworks.com/matlabcentral/fileexchange/41904-disk-usage), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 3-D Volumetric Image Processing에 대해 자세히 알아보기
도움

받음: Disk Usage, diskfree

줌: BiofilmQ

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

% 27/02/12:
% * fixed some terminology
% * removed 'path' function shadowing
% * added note about local paths

1.0.0.0