Scatter Plot Won't work (Error using scatter The specified superclass 'matlab.gr​aphics.mix​in.DataPro​perties' contains a parse error)

5 visualizaciones (últimos 30 días)
Hi all,
I am trying to get a scatter plot and keep getting the following error:
Error using scatter
The specified superclass 'matlab.graphics.mixin.DataProperties' contains a parse error, cannot be found on MATLAB's search path, or is shadowed
by another file with the same name.
I have tried everything on the forums where people are having similar issues, tried reinstalling and tried using a different version of matlab. nothing will work. I have reset my search path, used "which -all "scatter", and used rehash.
Here is the code I wrote:
scatter(1,1) %to test scatter
Error using scatter
The specified superclass 'matlab.graphics.mixin.DataProperties' contains a parse error, cannot be found on MATLAB's
search path, or is shadowed by another file with the same name.
  3 comentarios
Benjamin Kraus
Benjamin Kraus el 6 de Feb. de 2024
Editada: Benjamin Kraus el 6 de Feb. de 2024
matlab.graphics.mixin.DataProperties is a built-in class, so if you are not able to find it on your search path, that suggests a serious issue with your MATLAB installation.
You've already tried all the approaches I would recommend to fix this issue (check your path, or reinstall MATLAB).
My recommendation would be to contact technical support for help with this question.
But, I'm curious about a few things:
  • What version of MATLAB are you running?
  • Have you recently upgraded MATLAB? If so, has scatter ever worked in this installation of MATLAB?
  • What is the output from these three commands:
which -all matlab.graphics.mixin.DataProperties
which -all pathdef
which -all startup

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by