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

2 vues (au cours des 30 derniers jours)
Tyler
Tyler le 25 Juin 2014
Modifié(e) : Tyler le 28 Juin 2014
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 commentaires
Tyler
Tyler le 27 Juin 2014
Modifié(e) : Tyler le 28 Juin 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.
Geoff Hayes
Geoff Hayes le 27 Juin 2014
Modifié(e) : Geoff Hayes le 27 Juin 2014
That is interesting, Tyler. Good to bring it to MathWorks attention!

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by