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 (최근 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.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');

답변 (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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by