Make sure your current working directory is writeable. Some of the tests attempt to write temporary files to the directory and will fail if the permissions on the directory don’t allow it.
Ray > On Jan 14, 2015, at 1:21 AM, Zeya Aung [11547809d] <zya....@connect.polyu.hk> > wrote: > > Hi all > > I can’t install matpower 5. says error below. Please help. > > t_nested_struct_copy....ok > t_mpoption..............ok > t_loadcase..............Error using save > Unable to write file t_mat9_opf.mat: No such file or directory. > > 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 146) > t_run_tests( tests, verbose ); > > Best > Zeya > > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > Disclaimer: > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose. If you are not the intended > recipient, you should delete this message and notify the sender and The Hong > Kong Polytechnic University (the University) immediately. Any disclosure, > copying, or distribution of this message, or the taking of any action based > on it, is strictly prohibited and may be unlawful. > > The University specifically denies any responsibility for the accuracy or > quality of information obtained through University E-mail Facilities. Any > views and opinions expressed are only those of the author(s) and do not > necessarily represent those of the University and the University accepts no > liability whatsoever for any losses or damages incurred or caused to any > party as a result of the use of such information. > >