Mac Catalina - Read Permissions

Hello!
I am trying to read an image from a file subdirectory and plot it.
img=imread('dir/image.png')
imshow(img)
I have double checked that I have the path and the file name correct.
If I navigate (cd) into that directory - I can run the code and get the image to show up.
I keep getting the Error"
Cannot open file ... you might not have read permissions.
For what its worth - I'm running Matlab 2015 on a Mac Catalina.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2015a

질문:

2020년 10월 22일

답변:

2020년 10월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by