Error using ==> cd
조회 수: 29 (최근 30일)
이전 댓글 표시
I am using windows 7,64 bit. I try to run a simulink program.it gives me this error:
Error using ==> cd Cannot CD to C:\Users\...\AppData\Local\Temp;C:\Program Files\MATLAB\R2011a\simulink (Directory access failure).
my matlab program is installed at: C:\Program Files\MATLAB\ and I already checked this path in matlab. there is no thing wrong about it. I don't understand why matlab tries to find another directory!!! please guide me.
답변 (2개)
Walter Roberson
2011년 9월 22일
Notice that it is displaying two directory paths with a semicolon between them. I do not know why, but it is trying to change directory to that entire path, semi-colon and all.
Does it give a traceback of the error? That might help us figure out what is happening.
댓글 수: 3
Ferd
2012년 4월 19일
True, once license is established it will not change anything.
Make sure the file you are calling does not have a "space" in any of the files in the path. Try naming with underscores for spaces.
Arif Emre DEMIR
2020년 12월 30일
ı found this error's solution , is so simple. You just open the matlab as the adminastor. :))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!