Info
This question is closed. Reopen it to edit or answer.
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 view (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 26 Aug 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"
Answers (1)
Yuvaraj Venkataswamy
on 27 Aug 2018
1 Comment
Walter Roberson
on 27 Aug 2018
It is not clear how this relates? The question at hand has to do with importing one file.
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!