I am not sure if I needed a permission to write in that location. But I did change the location from partition D to somewhere in my windows drive and the problem was solved.
Thank you so much for your help. Hanie On Tue, May 8, 2012 at 7:22 AM, Ray Zimmerman <[email protected]> wrote: > Do you have write permissions on the directory you are running this from? > That particular test temporarily writes a file and it appears there is an > error when trying to save that file (though the error message is a bit > mysterious ... can't create a new file because the file doesn't exist?) > > -- > Ray Zimmerman > Senior Research Associate > 419A Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > > > On May 7, 2012, at 9:28 PM, Hanie Sedghi wrote: > > Hello, > > I have just installed MATPOWER by following step 1-3 from the manual. but > when in step 4, I write > test_matpower > I face the following errors: > > t_loadcase..........Error using save > Cannot create 't_mat9_opf.mat' because 't_mat9_opf.mat' does not exist. > > Error in t_loadcase (line 59) > eval(['save ' matfile '.mat baseMVA bus gen branch areas gencost']); > > Error in t_run_tests (line 79) > feval( test_names{k}, ~verbose ); > > Error in test_matpower (line 135) > t_run_tests( tests, verbose ); > > Actually, I did look into the file I have downloaded and I could not see > any files named t_mat9_opf.mat. > I am using a MATLAB R2011b on a 64bit windows 7. > I would truly appreciate if you could help me with this. > > Best Regards, > Hanie > > >
