Previously accessible file is now inaccessible - GA

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Umang Pandey
Umang Pandey il 22 Set 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');

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by