How do I deal with the Error: "Undefined function 'importfile' for input arguments of type 'char'."?

I got this error after importing text data by generating a function and entered in command window something like "matrix=importfile('data matlab.txt', 2, 7)".
The current folder is where the text file matlab.txt is stored (on the desktop of my PC).

1 commentaire

Do you have a function called importfile? Is it on your path? If either one is not the case then that would be the answer.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Design and Simulate SerDes Systems dans Centre d'aide et File Exchange

Commenté :

le 30 Oct 2015

Community Treasure Hunt

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

Start Hunting!

Translated by