Issue with Matlab print command

2 views (last 30 days)
Paul
Paul on 25 Feb 2014
Answered: Image Analyst on 25 Feb 2014
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) ;

Answers (1)

Image Analyst
Image Analyst on 25 Feb 2014
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?

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!