Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Hi I am trying to fminsearch to optimize couple of parameters, however when I give the start I get the following error Optimization running. Error running optimization. XLSREAD unable to open file 'C:\Users\GJ computational\Desktop\Book2.xlsx'. File
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I am trying to fminsearch to optimize couple of parameters, however when I give the start I get the following error
Optimization running. Error running optimization. XLSREAD unable to open file 'C:\Users\GJ computational\Desktop\Book2.xlsx'. File 'C:\Users\GJ computational\Desktop\Book2.xlsx' not found.
2 commentaires
Walter Roberson
le 26 Août 2018
We as outsiders have no reason to expect that file exists.
You should not call xlsread instead of an optimization. You should call it before you optimize and pass the data into your function. Search mathworks.com for "parameterizing functions"
Réponses (1)
Yuvaraj Venkataswamy
le 27 Août 2018
1 commentaire
Walter Roberson
le 27 Août 2018
It is not clear how this relates? The question at hand has to do with importing one file.
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!