import data from excel-xlsread problem

조회 수: 1 (최근 30일)
Fateme Fotuhi
Fateme Fotuhi 2013년 5월 5일
Hi Guys,
Im at the begining of a code and want to import the data from excel. I used it before and didnt face a problem but at this time I get the following errors:
Error using xlsreadCOM>activate_sheet (line 84) Worksheet 'terminal' not found.
Error in xlsreadCOM (line 36) activate_sheet(Excel,sheet);
Error in xlsread (line 230) [numericData, textData, rawData, customOutput] = xlsreadCOM(file, sheet, range, Excel, customFun);
Error in new_competitive_model_variable_capacity (line 31) ld=xlsread(distance,'terminal'); %line haul distances
Im wondering if anybody could help me with that.
Thanks
  댓글 수: 1
Iman Ansari
Iman Ansari 2013년 5월 5일
편집: Iman Ansari 2013년 5월 5일
Is your excel file Worksheet (default names: Sheet1,Sheet2,.. ) name 'terminal'? This line wants to read Worksheet with this name.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by