setfocus

Program to set focus to objects (edit etc) without clicking with the mouse on them.

Ahora está siguiendo esta publicación

Set focus to objects. When starting a Matlab GUI it is normally not possible to activate the cursor in an edit object. Before you can type, you'll have to click with the mouse in the edit field. With setfocus it is possible to activate the cursor with program code by passing the object handle to setfocus. setfocus simply simulate a mouseclick in the area of the object.

Citar como

Martin Weber (2026). setfocus (https://es.mathworks.com/matlabcentral/fileexchange/1898-setfocus), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: clickfocus, jMouseEmu: Mouse Emulator (v2.3)

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0