explorer.m: Quick access to the Windows Explorer

Opens the Windows Explorer for a specified directory, optionally showing the folder hierarchy
2.7K Downloads
Updated 1 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 (2024). 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
Categories
Find more on Search Path in Help Center and MATLAB Answers
Acknowledgements

Inspired: finder

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.1

Updated license

1.3.0.0

Added copyright and fixed M-lint warning.

1.2.0.0

Added copyright line.

1.1.0.0

Review

1.0.0.0