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!