Auto flush
Version 1.0.0.0 (702 KB) by
Techsource Technical Team
Demonstrates auto flushing using an ultrasonic sensor.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
I went into one of the toilets in a mall. Saw the auto flushing and couldn't stop thinking about it. So here it is.
This model illustrates auto flushing in the men’s toilet (or women's). When it detects human presence, it will flush once before peeing begins. When the process is completed, it will flush again. Flushing is represented by a rotating DC motor.
Cite As
Techsource Technical Team (2026). Auto flush (https://www.mathworks.com/matlabcentral/fileexchange/51956-auto-flush), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Stateflow in Help Center and MATLAB Answers
Tags
Communities
More Files in the Power Electronics Control Community
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Change title |
