image thumbnail

WHICHX

version 1.0.0.0 (1.24 KB) by Elmar Tarajan
File search within MATLAB search path using wildcards.

2.3K Downloads

Updated 12 Jan 2006

No License

Editor's Note: This file was a File Exchange Pick of the Week

WHICHX file search within MATLAB search path using wildcards

The output in command window is linked, so that is possible to start M-Files, open MDL-, FIG-files and other types in editor or GUIDE directly. Please look on the screenshot.

EXAMPLES:
---
WHICHX *.m lists all the M-files in the matlab search paths.

D = WHICHX('*.m') returns the results in an M-by-1
structure with the fields:
name -- filename
date -- modification date
bytes -- number of bytes allocated to the file
isdir -- 1 if name is a directory and 0 if not%
path -- directory

See also DIR, MATLABPATH, CD

Cite As

Elmar Tarajan (2021). WHICHX (https://www.mathworks.com/matlabcentral/fileexchange/9076-whichx), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!