Why do I get a permission denied error message referring to folder when installing MATLAB on Macbook?

3 ビュー (過去 30 日間)
After installing the Matlab in macbook and run LeadDBS into it, I'm dealing with this problem:
bash: /Users/Documents/MATLAB/lead/ext_libs/ANTs/antsRegistration.maci64: Permission denied
bash: /Users/Documents/MATLAB/lead/ext_libs/ANTs/antsApplyTransforms.maci64: Permission denied
  8 件のコメント
yannick LONGUET
yannick LONGUET 2023 年 6 月 26 日
I found the answer, you can write :
system(['find "', ea_getearoot, '" -type f -name "*maci64" -exec chmod 755 {} \;']);
system(['find "', ea_getearoot, '" -type f -name "*maci64" -exec xattr -cr {} \;']);
system(['find "', fileparts(which('spm')), '" -type f -name "*maci64" -exec xattr -cr {} \;']);
system(['find "', ea_getearoot, '" -type d -name "*.app" -exec xattr -cr {} \;']);
in the command window
Qiong
Qiong 2023 年 8 月 23 日
@yannick LONGUET Thank you very much! This solves the problem perfectly.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by