Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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 computatio​nal\Deskto​p\Book2.xl​sx'. File

1 visualización (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 26 de Ag. de 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"

Respuestas (1)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy el 27 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by