Explore

Convenient way to open windows explorer.

您现在正在关注此提交

% USAGE:
% explore
% opens explorer window to current file open in matlab editor. (if
% no file is open, then the current explorer window at current directory
% will be explored
%
% explore(file)
% opens explorer window to directory containing "file". This input
% can be a full-file-path, m-function name, or model name.
%
% explore(dir)
% opens explorer window to specified direcotry "dir". This input can
% be a full-path, relative-path, or just the name of any directory
% on the matlab path. Will open the first folder on the matlab-path
% matching the specified name.
%
%
% NOTE: You may change the executable called by explore.m. The default is
% "explorer". To change, use
% explore SetExplorerCommand <command>
%
% For example, to use UltraExplorer:
% explore SetExplorerComand 'UltraExplorer /p'
%
% Note that the path containing UltraExplorer.exe must be included
% in your Windows path environment variable.
%
% This setting is stored as a persistent variable, and will not be
% remembered between Matlab sessions, so this line should reside in
% your startup.m file to permanently change your explorer preference.
%

引用格式

Jesse Hopkins (2026). Explore (https://ww2.mathworks.cn/matlabcentral/fileexchange/23794-explore), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.4.0.0

Fixed handling of double quotes. Now also allows for configurable executable to run (defaults to "explorer.exe"), useful if you are running a replacement for windows explorer.

1.1.0.0

updated description

1.0.0.0