MACOPEN

MACOPEN can be used to open a file or directory outside MATLAB on Mac OSX

You are now following this Submission

MACOPEN FILENAME opens the file or directory FILENAME using the OPEN terminal command. Similar to the WINOPEN windows function in MATLAB.

% Examples:
%
% If you have Microsoft Word installed, then
% macopen('/myDoc.docx')
% opens that file in Microsoft Word if the file exists, and errors if it doesn't.
%
% macopen('/Applications')
% opens a new Finder window, showing the contents of your /Applications folder.

Cite As

Varun Gandhi (2026). MACOPEN (https://www.mathworks.com/matlabcentral/fileexchange/42808-macopen), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.2

Fixing the file.

1.0.0.1

Updated license

1.0.0.0