Superclass contains a parse error

13 visualizaciones (últimos 30 días)
LeChat
LeChat el 18 de Ag. de 2022
Respondida: Abhijeet el 5 de Sept. de 2023
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 comentarios
Jeffrey Clark
Jeffrey Clark el 18 de Ag. de 2022
@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 el 18 de Ag. de 2022
Editada: LeChat el 18 de Ag. de 2022
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).

Iniciar sesión para comentar.

Respuestas (1)

Abhijeet
Abhijeet el 5 de Sept. de 2023
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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by