Version (2.71 KB) by Matt Fig
Duplicates the output of Matlab function WHAT, with clickable links.
Updated 16 Jul 2008

View License

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

When called without an argument from the command line, WHATS lists the M-Files, MAT-Files and FIG-Files in the current directory as click-able links. Clicking on an M-File name opens the M-File for editing. Clicking on a MAT-File name loads the data stored in the MAT-File. Clicking on a FIG-File opens the figure. A different directory path (other than the current directory) can also be passed to WHATS as an argument, causing WHATS to list the files in that directory, and allowing the user to open or load the respective files. See the screen-shot for an example that shows the difference between WHAT and WHATS. I put this in my path so I can call it from anywhere.

Tested on 6.5, 2006a, 2007a

Please email me about bugs or other concerns. Thanks.

Cite As

Matt Fig (2024). whats (https://www.mathworks.com/matlabcentral/fileexchange/20615-whats), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Address reviewers requests/bug reports.