Error using Table with New Installation of 2022a
조회 수: 5 (최근 30일)
이전 댓글 표시
When I run these simple commands, I get the following error. I'm not sure where to look to address this.
xmin=1; xmax=2; ymin=3; ymax=5;
tst = table(xmin,xmax,ymin,ymax);
Error using table
The specified superclass 'matlab.mixin.indexing.RedefinesDot' contains a parse error, cannot be
found on MATLAB's search path, or is shadowed by another file with the same name.
I have been using version 2021a previously and 2022a was just installed.
댓글 수: 1
Justin Ashmall
2023년 8월 10일
We are seeing exactly the same problem with table via MATLAB Production Server. It's an intermittiment problem, it works fine for some time and then starts throwing this strange error. We do not have another table.m file (confirmed by adding which table -all debugging output).
The only work around is to restart the MPS server or redeploy the CTF, both of which prove to be only temporary solutions. Feels like a bug in MATLAB itself?
답변 (2개)
Cris LaPierre
2022년 4월 21일
편집: Cris LaPierre
2022년 4월 22일
I was able to run your code in R2022a without error.
It can also be run in R2022a on this platform (note the 'Ran in R2022a' stamp in the upper right of this post).
xmin=1;xmax=2;ymin=3;ymax=5;
tst = table(xmin,xmax,ymin,ymax)
There appears to be an issue with your install. Perhaps try reinstalling?
댓글 수: 0
Image Analyst
2022년 4월 21일
You don't have your own m-file called table.m do you? What does this show:
which -all table
댓글 수: 2
James Lebak
2022년 4월 27일
This sounds like the path is not configured correctly for R2022a. If reinstalling does not help, then please try
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!