explorer.m: Quick access to the Windows Explorer
by Malcolm Wood
12 May 2006
(Updated 23 Dec 2009)
Opens the Windows Explorer for a specified directory, optionally showing the folder hierarchy
|
Watch this File
|
| File Information |
| Description |
The Windows Explorer is opened in one of two modes: either in the "Explorer from here" mode with the Folder hierarchy visible and its root at the specified directory, or in its basic mode showing only the contents of the specified directory.
To open a directory listing for the current MATLABĀ® directory, type:
>> explorer
To open a listing for (e.g) directory C:\temp, type:
>> explorer C:\temp
>> To open a listing for the directory containing peaks.m (provided that peaks.m is on the MATLAB path) type:
>> explorer peaks
>> To also show the folder hierarchy inside that directory type:
>> explorer peaks 1
or
>> explorer('peaks',1)
etc. |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
| Other requirements |
Tested on Windows XP, but should work in any Win32 environment. Works in MATLAB 7 and later. In earlier versions of MATLAB the main functionality will work but the error handling will not. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 17 Dec 2009 |
Review |
| 23 Dec 2009 |
Added copyright line. |
| 23 Dec 2009 |
Added copyright and fixed M-lint warning. |
|
Contact us at files@mathworks.com