image thumbnail

Wild WHICH

version 1.0.0.0 (1.67 KB) by Lucio Cetto
Same as 'which' but with the option of use wild cards. Faster than 'lookfor'

2K Downloads

Updated 26 Jan 2002

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

WWHICH Locates m-files using wildcards
Works exactly as WHICH, but you can use wild cards.

The output is a cell whenever 2 or more matches are found or if the flag '-all' was used.
Note: a function may be shawdowed, use the flag -all to locate them.
examples:
wwhich *ver* -all
W=wwhich('*ver')

See WHICH for more info

Cite As

Lucio Cetto (2022). Wild WHICH (https://www.mathworks.com/matlabcentral/fileexchange/1266-wild-which), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
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!