>> 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
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
Demetris Roumis 2019년 5월 20일
Thanks for the response, but unfortunately restarting matlab did not work. This is issue is still open
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에 대해 자세히 알아보기

제품

릴리스

R2015b

태그

질문:

2019년 5월 13일

댓글:

2019년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by