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.

1 visualización (últimos 30 días)
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.m.
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)
foodmenu=importdata('EXCEL(edited).xlsx');

Respuestas (1)

Maadhav Akula
Maadhav Akula el 24 de En. de 2021
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!

Categorías

Más información sobre Programming en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by