I am trying to call a Python function from MATLAB, and I'm getting a permission denied error.
function [success] = run python()
%system('sudo easy_install requests');
%system('sudo easy_install PyCrypto');
system('/Users/mmk/Desktop/Folder/run.py')
success = 1;
end
The error is:
/bin/bash: /Users/mmk/Desktop/Folder/run.py: Permission denied
ans =
1
Not sure what I should be doing in this case. Any ideas?