How to load excel file..?

조회 수: 4 (최근 30일)
IITH
IITH 2014년 7월 8일
댓글: IITH 2014년 7월 9일
Hi, i was trying load some data from excel but it is showing error like "Undefined function or method 'Input' for input arguments of type 'char'...
this is wt i wrote xx = xlsread('C:\Users\Nagaraj Jade\Desktop\Book1.xlsx','Sheet1');
but it working in other system, so i need to install anything extra or what to do..?
  댓글 수: 2
C.J. Harris
C.J. Harris 2014년 7월 8일
Are you sure the error is not: Undefined function or method 'xlsread' for input arguments of type 'char'.? As that would indicate a problem with your path.
IITH
IITH 2014년 7월 9일
actually my working directory and excel files are in the same folder...but still it is giving error please tell me what to do

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

채택된 답변

Vijay Nahar
Vijay Nahar 2014년 7월 8일
Try concatanating the string within xlsread, using square brackets:
xx = xlsread(['C:\Users\Nagaraj Jade\Desktop\Book1.xlsx','Sheet1']);
  댓글 수: 1
IITH
IITH 2014년 7월 9일
thanks...

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by