Zsh:1 permission denied when running preprocessor


I am trying to run one of the examples from dynare and every time I try running anything at all I get the same error. I have a macbook and the ios system is torture when trying to do anything non art related. I was wondering if anyone knows how to fix this issue. I already gave the file the read and write permissions yet this keep occurring.

dynare agtrend.mod
Starting Dynare (version 5.4).
Calling Dynare with arguments: none
zsh:1: permission denied: /Users/me/Documents/MATLAB/Dynare/5.4/matlab/…/preprocessor/dynare-preprocessor

Error using dynare
Dynare: preprocessing failed

Thank you very much

@wmutschl Do you have an idea?
@mila How exactly did you install Dynare and which macOS are you using?