error in testing matpower
Mostrar comentarios más antiguos
hi everyone, I want to install matpower 6.0 in my matlab 2019b but after I install it same as instruction I get errors in testing it.
when I write test_matpower in command window I recieve these errors.
please help me to install it successfully.
>> test_matpower
t_test_fcns.............ok
t_nested_struct_copy....ok
t_feval_w_path..........ok
t_mpoption..............ok
t_loadcase..............Error using save
Unable to write file t_mat9_opf.mat:
permission denied.
Error in t_loadcase (line 40)
eval(['save ' matfile '.mat baseMVA bus
gen branch areas gencost']);
Error in t_run_tests (line 58)
feval( test_names{k}, ~verbose );
Error in test_matpower (line 128)
t_run_tests( tests, verbose );
Respuestas (1)
f4r3in
el 12 de Mzo. de 2020
3 comentarios
MohammadReza Jabbari (Jabari)
el 28 de Feb. de 2023
Hi. I have a same problem . Did you find any solution ?
佳鑫
el 29 de Jul. de 2024
Hi. I have a same problem . Did you find any solution ?
Manaz
el 7 de En. de 2025
I faced a similar problem, and finally managed to solve it after a closer look.
See if you have other optimization packages installed. If you have a function with the same name it could be overloading the MATALB's linprog.m function .
In my case I had a similar problem with quadprog.m. Apparently, it has been overloaded by MOSEK's quadprog.m function. I solved it by following their advice in "4 Installation — MOSEK Optimization Toolbox for MATLAB 10.2.13". (by using addpath <MSKHOME>\mosek\10.2\toolbox\r2017aom instead of addpath <MSKHOME>\mosek\10.2\toolbox\r2017a)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

