Might be an installation issue, please reach out to Mathworks Support:
New installation 2020b legend error
2 次查看(过去 30 天)
显示 更早的评论
I reinstalled Matlab2020 but legend.m is not working.
This is my Matlab version information:
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1467703 (R2020b)
MATLAB License Number: 505485
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 16299)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Deep Learning Toolbox Version 14.1 (R2020b)
Signal Processing Toolbox Version 8.5 (R2020b)
Statistics and Machine Learning Toolbox Version 12.0 (R2020b)
>>
When I run the example in help legend.m, I get the following error messageL;
Error using legend (line 272)
Too many output arguments.
Trying to figure out what is going on,I usedThe "which" commandAndIt produced: >> which legend
C:\Program Files\MATLAB\R2020b\toolbox\matlab\scribe\legend.m
Can you please solve this?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File 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!