handle for patch object in Matlab 2014b

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 Comment

Amit - how are you using the handle h? Perhaps there is an alternative solution.

Sign in to comment.

Answers (0)

Tags

Asked:

on 22 Jan 2015

Commented:

on 24 Jan 2015

Community Treasure Hunt

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

Start Hunting!