"unable to resolve the name" error while using readmatrix function
이전 댓글 표시
Hi,
I've got this error message while running a program in MATLAB 2020b:
Error using readmatrix: Unable to resolve the name matlab.io.internal.functions.FunctionStore.getFunctionByName.
Previously in 2020a version I had no problem using the program with readmatrix...
I appreciate any idea why it is happening.
댓글 수: 1
Walter Roberson
2021년 2월 17일
What shows up for
ls(fullfile(matlabroot, 'toolbox/shared/io/general/+matlab/+io/+internal/+functions/FunctionStore.m'))
If it says the directory does not exist then you have a corrupted version of MATLAB for sure. The directory should have 11 files in in R2020b.
채택된 답변
추가 답변 (2개)
Paul Ogunniran
2023년 6월 5일
0 개 추천
Another likely cause (at least in my case) is that you might have a pathdef.m file in your current path that got saved from the old matlab. In that case you have to overwrite it with paths of the new matlab version (Basically open Paths in the tabs and overwrite the old file)
Scott Milster
2024년 2월 29일
편집: Scott Milster
2024년 2월 29일
0 개 추천
I got a similar error. What finally fixed it is I opened up "Set Path" and reset all the paths to "Default". So far it's found everything now.
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!