Command window file explorer
Displays a directory listing in two colors. Beside each directory or file has a link to do one of the following:
- Open the file using the OS
- Open the directory with windows explorer
- Run a .m file as a script
Clicking on the file name will edit the file using matlab. Clicking on a directory changes the current directory.
Add bookmarks by clicking an empty link on the top bar.
For now this is windows only since I use "system(['dir ',cd,'/A-D /B'])".
The links are colored using
fprintf(1,str) -- blue
fprintf(2,str) -- red
The explanation is here:
http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/
Cite As
Jon Danisch (2024). Command window file explorer (https://www.mathworks.com/matlabcentral/fileexchange/30350-command-window-file-explorer), 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.