uigetfolder returns 0 for existing folders

조회 수: 2 (최근 30일)
Dayne Fratanduono
Dayne Fratanduono 2016년 9월 19일
댓글: Walter Roberson 2016년 9월 19일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 9월 19일
  댓글 수: 2
Dayne Fratanduono
Dayne Fratanduono 2016년 9월 19일
No change. I actually have my system configured to show hidden files. I tried turning it OFF and then back ON without success. I tested the uigetfolder in both cases.
Walter Roberson
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 CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by