Mouse click in a particle Swarm optimization

2 次查看(过去 30 天)
Hello, I want ask how put a mouse click to define a point in space with a window size [min1, max1] and [min2, max2]?

采纳的回答

Walter Roberson
Walter Roberson 2014-1-28
ginput() or figure ButtonDownFcn callback that uses get(0,'CurrentPoint')

更多回答(1 个)

john pag
john pag 2014-1-28
i have one more question for mouse click where put code? Can with the code of mouse click to define a point in space with a window?
  2 个评论
john pag
john pag 2014-1-28
sorry for my english.
Can I with the code of mouse click to make a point in space with a window size [min1, max1] and [min2, max2]?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by