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
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 (2024). 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 LinuxCategories
Find more on Search Path in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.