uigetfolder returns 0 for existing folders
2 ビュー (過去 30 日間)
古いコメントを表示
I've recently upgraded to OS X El Capitan and I am having an issue with the uiget functions. Matlab appears to be randomly able to find certain folders and not others. I have checked all file permissions and gone as far as duplicating permissions for files that uiget is able to find, on files it cannot without any success. The issue is not present if I launch matlab as a super-user, which suggests this is purely a permissions issue. Has anyone else had this issue and found a resolution?
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 9 月 19 日
As an experiment, try telling OS-X to show hidden files: http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/, and related http://apple.stackexchange.com/questions/186376/hotkey-to-show-hidden-files-and-folders-in-file-open-dialog
2 件のコメント
Walter Roberson
2016 年 9 月 19 日
Could you give some examples of folders it cannot find?
Have you tried
ls -dle
on the directory to check if it has ACLs associated?
If you make a copy of the directory at the same level, is the copy also hidden? Copies made by copy/paste in the finder, for one, and copies made by some lower level method such as (shell level)
mkdir TestDirectory
cd OddDirectory
find . -depth -print0 | cpio -pdm0 ../TestDirectory
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!