5.0

5.0 | 3 ratings Rate this file 2 Downloads (last 30 days) File Size: 197.81 KB File ID: #14140
image thumbnail

Explorer Toolbar Shortcut

by Stead Kiger

 

02 Mar 2007 (Updated 05 Apr 2007)

Add a shortcut for Windows Explorer to the Matlab toolbar

| Watch this File

File Information
Description

Although the Matlab current directory browser is handy, it is no substitute for the Windows Explorer. This submission to the File Exchange provides instructions for creating a button on the Matlab shortcuts toolbar that opens the current directory in the Windows Explorer. This is a convenient tool that I use frequently.

The screenshot provides a graphic illustration of the process and written instructions are below. An icon to use with the shortcut is provided in the zip file.

Instructions for shortcut creation

1. Unzip the attached zip file and extract the icon image ExplorerIcon.gif to the location you want to store it (e.g., c:\MATLAB\work or elsewhere).
   
2. Execute "winopen(pwd)" on the Matlab command line. This will open Explorer for the current directory in Matlab.

3. In the Matlab command history, select the most recent command that you just executed (winopen(pwd)).

4. Drag the selected command up to the shortcuts toolbar. This will open the Shortcut Editor.

5. Enter a label for this shortcut (e.g., Explore) and browse (using the "..." button on the far right of the line starting with Icon) to the location of ExplorerIcon.gif and select that file for the icon.

6. Click the save button in the Shortcut Editor and you are ready to go; clicking the Explore button on the Matlab shortcuts toolbar will now open the current Matlab directory in Windows Explorer.

MATLAB release MATLAB 7.0.4 (R14SP2)
Other requirements Windows only, although something similar may be possible with Unix and MacOS. My experience in producing icons with transparency is limited and the transparency for the enclosed icon image may not be perfect.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
20 Mar 2007 Aslak Grinsted

Great tip!

07 Aug 2008 Thierry Dalon

nice tip.

21 Oct 2008 Galen Stevens

Very handy, and thanks for the Explorer icon.

Please login to add a comment or rating.
Updates
05 Apr 2007

Corrected some character substitutions in the description.

Tag Activity for this File
Tag Applied By Date/Time
development environment Stead Kiger 22 Oct 2008 09:02:31
shortcut Stead Kiger 22 Oct 2008 09:02:31
toolbar Stead Kiger 22 Oct 2008 09:02:31
explore Stead Kiger 22 Oct 2008 09:02:31
explorer Stead Kiger 22 Oct 2008 09:02:31
winopen Stead Kiger 22 Oct 2008 09:02:31

Contact us at files@mathworks.com