handle for patch object in Matlab 2014b

3 visualizzazioni (ultimi 30 giorni)
Amit
Amit il 22 Gen 2015
Commentato: Geoff Hayes il 24 Gen 2015
I am using patch object for my Simulation and initially I have written the code in Matlab2013b where a command
h=patch(x,y)
will create a patch object and it's handle is stored in h.
In Matlab2014b when i try the same command instead of saving handle in h it saves following Information.
Patch with properties:
FaceColor: [1 0 0]
FaceAlpha: 1
EdgeColor: [0 0 0]
LineStyle: '-'
Faces: [1 2 3 4 5]
Vertices: [5x2 double]
The architecture of my Simulation is totally depends upon it. Is there any way to store the handle of patch in Matlab2014b?
  1 Commento
Geoff Hayes
Geoff Hayes il 24 Gen 2015
Amit - how are you using the handle h? Perhaps there is an alternative solution.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by