why isn't the importfile function not working?

13 Ansichten (letzte 30 Tage)
Chaitanya Bade
Chaitanya Bade am 31 Mär. 2017
Bearbeitet: Jan am 5 Apr. 2017
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'"

Akzeptierte Antwort

Jan
Jan am 31 Mär. 2017
Bearbeitet: Jan am 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 Kommentar
Chaitanya Bade
Chaitanya Bade am 5 Apr. 2017
Mate, you're a legend. I had no idea about Matlab. I am just learning. It worked

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by