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

2 views (last 30 days)
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 Comments
Tyler
Tyler on 27 Jun 2014
Edited: Tyler on 28 Jun 2014
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.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!