필터 지우기
필터 지우기

用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 (최근 30일)
渝景
渝景 2024년 7월 26일 9:46
댓글: dpb 대략 21시간 전
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
dpb
dpb 대략 21시간 전
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...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by