MACOPEN FILENAME opens the file or directory FILENAME using the OPEN terminal command. Similar to the WINOPEN windows function in MATLAB.
% If you have Microsoft Word installed, then
% opens that file in Microsoft Word if the file exists, and errors if it doesn't.
% opens a new Finder window, showing the contents of your /Applications folder.
Varun Gandhi (2020). MACOPEN (https://www.mathworks.com/matlabcentral/fileexchange/42808-macopen), MATLAB Central File Exchange. Retrieved .
Same error here, can't expand the zip file
Unable to expand "macopen.zip" into "Downloads" (Error 1 - Operation not permitted.)
I would recommend editing line 25 in the following way:
syscmd = ['open "', inp, '" &'];
This should work better, when accessing folders or files with spaces in the names.
It overcomes the "winopen" error on mac. Just what I need. Thanks.
It works very well. Thank you.