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.

댓글 수: 6

Fangjun Jiang
Fangjun Jiang 2011년 9월 22일
Are you trying to open a Simulink model file or just open the Simulink library? There might be some scripts linked to the model file through function callback. Did the error message indicate which line did the error happen? Can you copy the error message exactly (including line return) as it appears in the Command Window?
sara
sara 2011년 9월 22일
I am just trying to open a simulink file.
here is the warning in the command window:
Warning: Matching "From" for "Goto" 'Model_bus1/Fuel Cell/Goto4' not found
Fangjun Jiang
Fangjun Jiang 2011년 9월 22일
That's a completely different message. This warning indicates some "Goto" blocks are not needed because no matching "From" blocks are found. It's Okay. But previous message is an error. When did that error happen and did it cause any problem?
sara
sara 2011년 9월 22일
after running simulink program.the problem is that it can't find the right directory to run the program.
Fangjun Jiang
Fangjun Jiang 2011년 9월 22일
You seem to change the topic again. I am not sure what is your question.
Rui
Rui 2013년 3월 28일
here is the answer for your question.

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 9월 22일

0 개 추천

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

sara
sara 2011년 9월 22일
to access matlab I have to connect to vpn. but matlab is installed in my computer. does it change any thing?
in the command window just there is this warning:
Warning: Matching "From" for "Goto" 'Model_bus1/Fuel Cell/Goto4' not found
Walter Roberson
Walter Roberson 2011년 9월 22일
The VPN to the license server should not change anything
Ferd
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
Arif Emre DEMIR 2020년 12월 30일

0 개 추천

ı found this error's solution , is so simple. You just open the matlab as the adminastor. :))

카테고리

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

태그

질문:

2011년 9월 22일

답변:

2020년 12월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by