computing distance between between 2 point of a 3D figure using datacursor

1 view (last 30 days)
Hi all, Am bulding a GUI that plot a 3Dfigure by pressing a push button,am trying to return a distance value between 2 point when i select the 2 point using datacursormode on the figure. i know the formula to calculate the distance but i dont knw how to make the data cursor to return the (X,Y,Z) value of the 2 point select. Thanks.

Answers (0)

Community Treasure Hunt

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

Start Hunting!