win7操作系统下,rest不能运行

Submitted by lihong on

??? Error using ==> cd
Cannot CD to G:temp (Name is nonexistent or not a directory).

Error in ==> tempdir at 31
    curr_dir = cd(tmp_dir);

Error in ==> rest_misc at 119
 dirFCTemp  =dir(fullfile(tempdir, 'fc_*'));

Error in ==> rest>QuitAll at 393
 rest_misc( 'ClearTempFiles');

Error in ==> rest at 34
  QuitAll;
 
输入:rest以后出现这样的情况,请问有解决方案吗?

我的操作系统是win7 32位的,matlab 2009B

YAN Chao-Gan

Tue, 04/27/2010 - 10:24

你好!
原因是你在win7里面重设了临时目录,并且环境变量没有设好。
请把环境变量从G:temp改为G:\temp
祝顺利!
Forums