Issue with Matlab print command

2 次查看(过去 30 天)
Paul
Paul 2014-2-25
Got this when running a program, any ideas?
Error using print>LocalPrint (line 289) .\japan_feb2014_base002_IRF_epsilon_G7.eps: Cannot open file: permission denied.
Error in print (line 231) LocalPrint(pj);
Error in dyn_saveas (line 41) print(h,'-depsc2',[fname,'.eps'])
Error in stoch_simul (line 273) dyn_saveas(hh,[ M_.fname '_IRF_' deblank(tit(i,:)) int2str(fig)],options_);
Error in japan_feb2014_base002 (line 961) info = stoch_simul(var_list_);
Error in dynare (line 174) evalin('base',fname) ;

回答(1 个)

Image Analyst
Image Analyst 2014-2-25
I can't tell the full path - all I see is .\ - so can you tell us what "pwd" displays because it looks like you're trying to save something to the current folder and not every folder can be saved to with Windows 7. What operating system are you using?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by