Superclass contains a parse error

15 ビュー (過去 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 Center および File ExchangeIntroduction 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