Error using ==> cd

22 ビュー (過去 30 日間)
sara
sara 2011 年 9 月 22 日
回答済み: Arif Emre DEMIR 2020 年 12 月 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.
  6 件のコメント
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 日
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 件のコメント
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 日
ı found this error's solution , is so simple. You just open the matlab as the adminastor. :))

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by