Previously accessible file is now inaccessible - GA

2 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by