why isn't the importfile function not working?

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

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

Tags

Asked:

on 31 Mar 2017

Edited:

Jan
on 5 Apr 2017

Community Treasure Hunt

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

Start Hunting!