Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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 (최근 30일)
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
Walter Roberson
Walter Roberson 2018년 8월 26일
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"

답변 (1개)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy 2018년 8월 27일
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 8월 27일
It is not clear how this relates? The question at hand has to do with importing one file.

Community Treasure Hunt

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

Start Hunting!

Translated by