Previously accessible file is now inaccessible - GA

조회 수: 5 (최근 30일)
Adam Handley
Adam Handley 2022년 5월 12일
답변: Umang Pandey 2023년 9월 22일
I keep getting this error during running a genetic algorithm.
Error using Reoptimisation>@(x)PD_FullCF(x,setup,C(:,2:end,n),reoptcomparisons) (line 75)
Previously accessible file "C:\Users\adam-\OneDrive - Loughborough University\Projects\Verification of Consistent Gains using double optimisation\PD_FullCF.m" is now inaccessible.
Is this something to do with OneDrive permissions with MATLAB?

답변 (1개)

Umang Pandey
Umang Pandey 2023년 9월 22일
Hi Adam,
Based on my understanding, it seems that the file you are referring to may not have been added to the MATLAB search path.
To resolve this, you can try running the following code in the Command Window:
addpath('C:\Users\adam-\OneDrive - Loughborough University\Projects\Verification of Consistent Gains using double optimisation');

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by