Improved WHOS function
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Minor update to handle proper labeling of all data types. |