why isn't the importfile function not working?

12 views (last 30 days)
Why is not this code working in matlab? Any help would be highly appreciated [TIMESTEPS,XDATA] = importfile('90.xlsx','Sheet1',2,1601);
It shows "Undefined function or variable 'importfile'"

Accepted Answer

Jan
Jan on 31 Mar 2017
Edited: Jan on 5 Apr 2017
The error message seems to be clear: The function importfile has not been created before, or it was saved to a folder which is not included in Matlab's path.
Please explain if you have created this function using importdata before and if so, where have you saved it? This implies a solution also if you convert the questions to a statement.
  1 Comment
Chaitanya Bade
Chaitanya Bade on 5 Apr 2017
Mate, you're a legend. I had no idea about Matlab. I am just learning. It worked

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!