Scatter Plot Won't work (Error using scatter The specified superclass 'matlab.graphics.mixin.DataProperties' contains a parse error)
4 views (last 30 days)
Show older comments
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 Comments
Benjamin Kraus
on 6 Feb 2024
Edited: Benjamin Kraus
on 6 Feb 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
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!