About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 78
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Evgeny Pr (2 other programs)
See full specifications

scripts default iconDIRWALK - Walk the directory tree (Scripts) Publisher's description

Function generate the file names and directory names in a directory tree by walking the tree top-down

Function generate the file names and directory names in a directory tree by walking the tree top-down. For each directory in the tree rooted at directory topPath. For each directory of tree you can call "Visitor Function" for files processing.

[pathNames, dirNames, fileNames] = dirwalk(topPath)
dirwalk(topPath, visitor)
[visitorOutput1, visitorOutput2, ..., visitorOutputN] = dirwalk(topPath, visitor)
[...] = dirwalk(topPath, visitor, visitorInput1, visitorInput2, ..., visitorInputN)

topPath = fullfile(matlabroot, 'toolbox', 'matlab', 'demos');

% Get files and dirs listing (default visitor)
[pathNames, dirNames, fileNames] = dirwalk(topPath);

% Call visitor function in each dir
dirwalk(topPath, @(y,x) disp(strcat(y, filesep, {x.name}')))

See help DIRWALK and TEST_DIRWALK for detailes examples.

System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

DIRWALK - Walk the directory tree (Scripts) Tags:

Click on a tag to find related softwares

Is DIRWALK - Walk the directory tree (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.