image thumbnail

MACOPEN

version 1.0.0.2 (1.38 KB) by Varun Gandhi
MACOPEN can be used to open a file or directory outside MATLAB on Mac OSX

707 Downloads

Updated 10 Aug 2020

View License

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 (2021). MACOPEN (https://www.mathworks.com/matlabcentral/fileexchange/42808-macopen), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!