PropListener - add a callback to property value get/set event
Keine Lizenz
This is an enhancement of Matlab's hidden and unsupported addlistener function (within the uitools folder). It attaches a listener callback to one or more property (or properties) get or set event(s).
Acceptable events are PreGet, PreSet, PostGet and PostSet, which are triggered immediately before/after a get/set event on a handle property value.
Example:
proplistener(gcf,{'Visible','NumberTitle'},{'PreGet','postSet'},@myFunc)
See more extensive help section within.
Note: relies on undocumented and unsupported Matlab functionality. Use at your own risk. Comments welcome
Zitieren als
Yair Altman (2026). PropListener - add a callback to property value get/set event (https://de.mathworks.com/matlabcentral/fileexchange/18301-proplistener-add-a-callback-to-property-value-get-set-event), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > App Building >
Tags
Quellenangaben
Inspiriert: UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers, changeloglabels v3, gridcolor
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
