How to load excel file..?
1 view (last 30 days)
Show older comments
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 Comments
C.J. Harris
on 8 Jul 2014
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.
Accepted Answer
Vijay Nahar
on 8 Jul 2014
Try concatanating the string within xlsread, using square brackets:
xx = xlsread(['C:\Users\Nagaraj Jade\Desktop\Book1.xlsx','Sheet1']);
More Answers (0)
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!