Scatter Plot Won't work (Error using scatter The specified superclass 'matlab.graphics.mixin.DataProperties' contains a parse error)
显示 更早的评论
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 个评论
Dyuman Joshi
2024-2-6
Please share the code you ran and the full error message i.e. all of the red text.
Jack Michael
2024-2-6
Benjamin Kraus
2024-2-6
编辑:Benjamin Kraus
2024-2-6
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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!