Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Only 31 lines of code in start.m is used to control animated traffic lights on road intersection. LampSuperclass and three clases (trafficLamp, tLamps, map) are used in program. Classes define (1) single Red-Yellow-Green traffic lamp, (2) set of four lamps (North, South, East, West direction) and (3) map of street intersection. Menu is used to change the mode of traffic light operation.
Citation pour cette source
Bogumila & Zbigniew MROZEK (2026). Object oriented program example: animated traffic lights on road intersection (https://fr.mathworks.com/matlabcentral/fileexchange/38316-object-oriented-program-example-animated-traffic-lights-on-road-intersection), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.3.0.0 (3,08 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.3.0.0 | tested with MATLAB 2014a
|
||
| 1.2.0.0 | general upgrade insluding proprieties and methods in all classes, title |
||
| 1.1.0.0 | superclass added |
||
| 1.0.0.0 |
