bar function doesn't function
显示 更早的评论
>> bar([1 2 3])
Struct contents reference from a non-struct array object.
Error in matlab.graphics.chart.primitive.Bar/createBarVertexData
Error in matlab.graphics.chart.primitive.Bar/doUpdate
Info:
>> which bar -all
/_/_/matlab2015b/toolbox/matlab/specgraph/bar.m
回答(1 个)
Sulaymon Eshkabilov
2019-5-13
0 个投票
Use: >> clear all
and run again: >> bar([1 2 3])
Nothing happens, then just close MATLAB and restart it. Maybe these steps would resolve some conflicting commands.
Good luck.
2 个评论
Demetris Roumis
2019-5-20
Walter Roberson
2019-5-20
Unfortunately the code being executed cannot be inspected by users so you would need to open a support case with Mathworks. The release you are using hints that could be a problem as I suspect that you do not have a support contract.
You could experiment with
restoredefaultpath
rehash toolboxcache
savepath
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!