Wild WHICH

Same as 'which' but with the option of use wild cards. Faster than 'lookfor'

You are now following this Submission

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 (2026). Wild WHICH (https://www.mathworks.com/matlabcentral/fileexchange/1266-wild-which), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0