Previously accessible file is now inaccessible - GA

5 次查看(过去 30 天)
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