Why does MATLAB crash when I run the following script to place markers on a texture?

2 ビュー (過去 30 日間)
Tyler
Tyler 2014 年 6 月 25 日
編集済み: Tyler 2014 年 6 月 28 日
When running the attached script in MATLAB R2014a, everything runs as planned.
A texture is pasted onto a rectangle in 3D space and some markers are drawn on top.
But if you close the figure and run each cell again individually (in cell mode using CTRL+Enter), MATLAB crashes.
Why is this happening? Is there a bug in 'plot3'.
  3 件のコメント
Tyler
Tyler 2014 年 6 月 27 日
編集済み: Tyler 2014 年 6 月 28 日
Thanks Geoff. I appreciate your efforts confirming the issue. I'm now convinced there is a bug in the plot3 code.
You may (and possibly MathWorks) be interested to learn I first came across the issue in a 'for loop'. It would execute many iterations just fine but on a particular loop (same iteration each time, i.e. repeatable) it would cause MATLAB to crash. Nothing appeared any different to any other loop. I created the script in its current form just to demonstrate the behaviour.
A crash report has been sent to MathWorks.
Geoff Hayes
Geoff Hayes 2014 年 6 月 27 日
編集済み: Geoff Hayes 2014 年 6 月 27 日
That is interesting, Tyler. Good to bring it to MathWorks attention!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by