Problem Reading EXCEL file . Can someone help me with this problem, recently it was fine reading the file but all of sudden it turn to this since i wanted to test again my program.

4 ビュー (過去 30 日間)
Quantity of product you have bought today: 2
Warning: P-file D:\MATLAB\R2019a\toolbox\matlab\iofun\importdata.p is older than MATLAB file
D:\MATLAB\R2019a\toolbox\matlab\iofun\importdata.p may be obsolete and may need to be regenerated.
Type "help pcode" for information about generating P-files.
Undefined function 'xlsread' for input arguments of type 'char'.
Error in importdata
Error in importdata
Error in Untitled2 (line 71)

回答 (1 件)

Maadhav Akula
Maadhav Akula 2021 年 1 月 24 日
Hi Ahmed,
Looks like you have modified the importdata.m file, so you have to pcode the file again, if not please try reinstalling MATLAB so that the modified files are overwritten.
Check the following links:
Hope this helps!


Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by