필터 지우기
필터 지우기

파일을 찾을 수 없거나 권한이 거부되었습니다. 오류가 뜹니다.

조회 수: 20 (최근 30일)
yang kim
yang kim 2021년 5월 3일
답변: sai charan sampara 2024년 3월 5일
다음 사용 중 오류가 발생함: dataread
파일을 찾을 수 없거나 권한이 거부되었습니다.
오류 발생: textread (171번 라인)
[varargout{1:nlhs}]=dataread('file',varargin{:}); %#ok<REMFF1>
2014버전에서 사용할때는 괜찬았는데
2021 윈도우 10에서 사용하니깐 textread 사용시 권한이 거부되었습니다
라고 뜨며 실행이 안됩니다. 오류해결방법 아시는분.

답변 (1개)

sai charan sampara
sai charan sampara 2024년 3월 5일
Hello Yang,
I understand that you are unable to read from a file due to permission related issues.
The following actions could potentially resolve the error:
  • Run MATLAB as an Administrator. Right-click on the MATLAB shortcut or executable and select "Run as administrator."
  • Ensure that your current directory and the folder where the file is stored have the appropriate read and write permissions. You can “cd” to a folder where you have proper permissions and try again.
  • Temporarily disable any antivirus or security software that might be blocking MATLAB from performing the operation.
You can refer to the following links for more information:

카테고리

Help CenterFile Exchange에서 설치 및 라이선스 부여 소개에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!