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

Geoff Hayes
Geoff Hayes 2015년 1월 24일
Amit - how are you using the handle h? Perhaps there is an alternative solution.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

태그

질문:

2015년 1월 22일

댓글:

2015년 1월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by