Check if mouse button is pressed

Check if mouse button is pressed programatically

Sie verfolgen jetzt diese Einreichung

This function helps you find out, programatically, if any mouse button is clicked.
This can be very useful when configuring 'SizeChangeFcn' callbacks, for instance, when you may need to execute a certain action ONLY once the user has released the mouse button.

Zitieren als

Mbvalentin (2026). Check if mouse button is pressed (https://de.mathworks.com/matlabcentral/fileexchange/61976-check-if-mouse-button-is-pressed), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert: Determine whether a key is up or down

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

Readme added

1.0.0.0