handle for patch object in Matlab 2014b

1 view (last 30 days)
Amit
Amit on 22 Jan 2015
Commented: Geoff Hayes on 24 Jan 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 Comment
Geoff Hayes
Geoff Hayes on 24 Jan 2015
Amit - how are you using the handle h? Perhaps there is an alternative solution.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!