Why this error?
Mostrar comentarios más antiguos

9 comentarios
Stephen23
el 9 de Ag. de 2023
Please show us the output from this command:
which scatter -all
Sourov
el 9 de Ag. de 2023
Sourov
el 9 de Ag. de 2023
Image Analyst
el 9 de Ag. de 2023
Editada: Image Analyst
el 9 de Ag. de 2023
which scatter -all
Put that in the command window and tell us what it says. If it were really urgent, you would have done it.

Sourov
el 9 de Ag. de 2023
Sourov
el 9 de Ag. de 2023
Image Analyst
el 9 de Ag. de 2023
We did not say scatter -all. What happened to the "which" statement? Why did you not type which?
Here, just clip the Copy word in the left side of this shaded section below, and paste it into the command window
which -all scatter
Sourov
el 9 de Ag. de 2023
dpb
el 9 de Ag. de 2023
That shouldn't be.
Restart your matlab session and try
x=[1:5];
y=rand(size(x));
scatter(x,y)
directly from the command line.
If that doesn't work, there's something bad with the installation.
Respuestas (1)
Udit06
el 23 de Ag. de 2023
Hi Sourov,
Since you have already verified that you have not accidently overwritten the built-in scatter function using which scatter -all scatter command, you can try out the following two approaches to solve the problem you are facing.
- Rehashing the toolbox cache
Your MATLAB environment might not be finding the correct built-in scatter function. You can use the following command to rehash the toolbox cache.
rehash toolboxcache
2. If the problem persists, and you have already tried restarting your MATLAB session, as suggested earlier in the comments, there might be something bad with the installation. You can try reinstalling MATLAB.
I hope this helps.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


