用cec2022测试函数的mexw64文件运行时报出如下错误“Error: Cannot open M_1_D2.txt for reading Error: Cannot open shift_data_1.txt for reading Error: Cannot open M_2_D2.txt for reading ”
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
SearchAgents_no = 30;
Max_iter = 100;
for j = 1:12
[lb,ub,dim,fobj] = Get_Functions_cec2022(j,2);
[Best_Pos_PSA,Best_Score_PSA,Convergence_curve_PSA] = PSA(SearchAgents_no,Max_iter,lb,ub,dim,fobj);
end
1 Commento
dpb
circa 21 ore fa
Insufficient information -- need whole error message in context and then the pertinent code associated with it.
The likely cause is the location of files is not where the code is looking for them...
Risposte (0)
Vedere anche
Categorie
Scopri di più su Programming Utilities in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!