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'"

 Réponse acceptée

Jan
Jan le 31 Mar 2017
Modifié(e) : Jan le 5 Avr 2017

0 votes

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 commentaire

Mate, you're a legend. I had no idea about Matlab. I am just learning. It worked

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by