Improved WHOS function

Improves the readability of the WHOS function.

Al momento, stai seguendo questo contributo

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?

Cita come

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

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0

Minor update to handle proper labeling of all data types.