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?
Cita come
Daniel Ennis (2026). Improved WHOS function (https://it.mathworks.com/matlabcentral/fileexchange/7366-improved-whos-function), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | Minor update to handle proper labeling of all data types. |
