image thumbnail

explorer.m: Quick access to the Windows Explorer

version 1.3.0.1 (1.76 KB) by Malcolm Wood
Opens the Windows Explorer for a specified directory, optionally showing the folder hierarchy

2.7K Downloads

Updated 01 Sep 2016

View License

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.

Cite As

Malcolm Wood (2021). explorer.m: Quick access to the Windows Explorer (https://www.mathworks.com/matlabcentral/fileexchange/11064-explorer-m-quick-access-to-the-windows-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: finder

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!