Improved WHOS function

Improves the readability of the WHOS function.
1.6K Downloads
Updated 18 Jul 2005

View License

WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and incorporates the use of b (byte), kb (kilobyte), Mb (megabyte), and Gb(gigabyte) labeling.

whosbetter -n name ordered (DEFAULT)
whosbetter -s size ordered (NOT IMPLEMENTED)
whosbetter -b byte ordered
whosbetter -t type ordered (NOT IMPLEMENTED)

SYTNAX: whosbetter -b
whosbetter -n (DEFAULT)

DBE 2005/04/05

Comment: WHOSBETTER is too long of a filename to type it as often as I used to type WHOS. I like the name because I think it is funny, but in my own workspace I renamed the function to something much shorter.

Future Improvements:
1) Include handling for -s and -t options
2) Anything else?

Cite As

Daniel Ennis (2024). Improved WHOS function (https://www.mathworks.com/matlabcentral/fileexchange/7366-improved-whos-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
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!
Version Published Release Notes
1.0.0.0

Minor update to handle proper labeling of all data types.