Why this error?

조회 수: 2 (최근 30일)
Sourov
Sourov 2023년 8월 9일
답변: Udit06 2023년 8월 23일
  댓글 수: 9
Sourov
Sourov 2023년 8월 9일
dpb
dpb 2023년 8월 9일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Udit06
Udit06 2023년 8월 23일
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.
  1. 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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by