How do I deal with the Error: "Undefined function 'importfile' for input arguments of type 'char'."?
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
Adam
2015-10-30
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calendar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!