how to run demo file in matlab
8 次查看(过去 30 天)
显示 更早的评论
i have typed the below command in command window
edit insulindemo
but i am getting the below error
Error using cd
Cannot CD to C:\Users\Rajan\AppData\Local\Temp (Name is nonexistent or not a directory).
Error in tempdir (line 30)
curr_dir = cd(tmp_dir);
Error in tempname (line 17)
dirname = tempdir;
Error in sbioloadproject>createMATFile (line 164)
tempfilename = [tempname '.mat'];
Error in sbioloadproject (line 83)
tempfilename = createMATFile(projfilename, 'simbiodata\d*.mat');
Error in insulindemo (line 85)
sbioloadproject('insulindemo', 'm1'
how to get out of these? help me plzz...
采纳的回答
Walter Roberson
2016-2-12
At the MATLAB command prompt, command
if ~exist('C:\Users\Rajan\AppData', 'dir'); mkdir('C:\Users\Rajan\AppData'); end
if ~exist('C:\Users\Rajan\AppData\Local', 'dir'); mkdir('C:\Users\Rajan\AppData\Local'); end
if ~exist('C:\Users\Rajan\AppData\Local\Temp', 'dir'); mkdir('C:\Users\Rajan\AppData\Local\Temp'); end
After that you should be able to use the software.
7 个评论
Walter Roberson
2016-2-13
Could you show the output of
T=getenv('TEMP');
fprintf('|%s|\n', T);
T+0
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!