Superclass contains a parse error

조회 수: 16 (최근 30일)
LeChat
LeChat 2022년 8월 18일
답변: Abhijeet 2023년 9월 5일
Hi,
For one month now, I have been having the following error when launching a code (any code containing "readtable" command) right after booting up Matlab.
The workaround I found is to do
restoredefaultpath
and then reset my own path again.
I cannot find the conflicting function in my path, is there a way to find it, or any remnant solution?
Thank you for your help
LeChat
PS: as I work on several computer (from my desktop in the lab, from home, my laptop etc.), I have saved my path on Dropbox and then I have added it in the path. Matlab on Windows seems to save my personal path, but on Linux Ubuntu (21.04LTS), it seems I need to set my path each time I launch Matlab. Would this be related to my initial question? Would there be a way to save my path once for good on Linux? Thank you!
  댓글 수: 2
Jeffrey Clark
Jeffrey Clark 2022년 8월 18일
@LeChat, file paths use a different convention on linux vs windows. See answer to Program made for matlab on windows doesn't work on linux. Path problem as to how to address this to make it work.
LeChat
LeChat 2022년 8월 18일
편집: LeChat 2022년 8월 18일
I have been doing this for a while (sharing code between Mac, Linux, and Windows, using "pathsep" command to genericly write the paths of my files in scripts) and never had this issue of parse error so far... I wonder if the issue is not causes by the fact that I also installed R2022a on Windows and came back to R2021b because of the fitting tool cftool that has changed (they removed the manual selection of data exclusion in the fit, which was quite handy I must say).

댓글을 달려면 로그인하십시오.

답변 (1개)

Abhijeet
Abhijeet 2023년 9월 5일
Hi
I understand that you are getting “Superclass contains a parse” message. In order to resolve the issue, I suggest following troubleshooting steps:
  • Manually go through the MATLAB search path and remove the paths which have functions conflicting with built-in MATLAB functions. Execute the following command to get the list of the current search path.
>> path
The following command may help to find the source of the issue:
>> which -all <conflicting_function>
I hope this helps you

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by