scatter运行出错

4 Ansichten (letzte 30 Tage)
天勤 郑
天勤 郑 am 27 Aug. 2022
Beantwortet: Anuneet am 7 Sep. 2022
x=1;
y=1;
scatter(x,y);
报错
错误使用 deal
输出参数太多。
出错 scatter (第 80 行)
[x,y] = deal(dataargs{:});

Antworten (1)

Anuneet
Anuneet am 7 Sep. 2022
Hi,
I tried running the following code on R2022a and encountered no such error.
x=1;
y=1;
scatter(x,y);
Assuming you are executing only the above 3 lines of code and still encountering errors, it might be an issue with your MATLAB installation. You can perform initial troubleshooting by executing the following commands :-
>> restoredefaultpath
>> rehash toolboxcache
>> sl_refresh_customizations
For more assistance with your MATLAB Installation, please contact MathWorks Technical Support.

Kategorien

Mehr zu 安装和许可简介 finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!