Mouse click in a particle Swarm optimization

Hello, I want ask how put a mouse click to define a point in space with a window size [min1, max1] and [min2, max2]?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de En. de 2014

0 votos

ginput() or figure ButtonDownFcn callback that uses get(0,'CurrentPoint')

Más respuestas (1)

john pag
john pag el 28 de En. de 2014

0 votos

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 comentarios

Walter Roberson
Walter Roberson el 28 de En. de 2014
I do not understand your second sentence ?
john pag
john pag el 28 de En. de 2014
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]?

Iniciar sesión para comentar.

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de En. de 2014

Comentada:

el 28 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by