1K Downloads
Updated
3 Dec 2007
No License
The observer pattern allows to decouple the GUI elements (control and view) from the data model. All views are automatically synchronized through notify()/update()
Example:
iw1 = interval_window();
iw2 = interval_window_flow();
iv = interval_view();
i1 = interval(2,8,6);
i1.attach_observer(iw1);
i1.attach_observer(iw2);
i1.attach_observer(iv);
Cite As
Arne Jenssen (2026). Observer pattern (https://www.mathworks.com/matlabcentral/fileexchange/17843-observer-pattern), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Software Development Tools in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
