Code covered by the BSD License  

Highlights from
Command window file explorer

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 4.33 KB File ID: #30350
image thumbnail

Command window file explorer

by

 

09 Feb 2011 (Updated )

Embedded html links to open, run, or edit files from the command window. With bookmarks!

| Watch this File

File Information
Description

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/

MATLAB release MATLAB 7.11 (R2010b)
Other requirements none
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
12 Feb 2011

Minor tweaks, more links, now uses 2 colors, sorted dir listing.

Contact us