Previously accessible file is now inaccessible - GA

5 Ansichten (letzte 30 Tage)
Adam Handley
Adam Handley am 12 Mai 2022
Beantwortet: Umang Pandey am 22 Sep. 2023
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?

Antworten (1)

Umang Pandey
Umang Pandey am 22 Sep. 2023
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');

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by