How to add more function inside the drawpolyline matlab function

I am using drawpolyline matlab function where i can draw polyline manually for the requested axes.
after drawing the polyline , when i right click on the drawn polyline , i could see only 2-options available i.e add vertex and delete.
further i would like to add , few more options when i right click on the drawn polyline, Could anyone can help me to solve this issue ?

 채택된 답변

SatyaPrakash Gupta
SatyaPrakash Gupta 2020년 4월 28일

0 개 추천

I used UIMENU and hence now i am able to add more functions
topmenu = uimenu('Parent',c,'Label','LabelType');
m1 = uimenu('Parent',topmenu,'Label','Guardrail(motor…)','Callback',@LabelType);

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Timing and presenting 2D and 3D stimuli에 대해 자세히 알아보기

제품

릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by