Back to Browse

Basic Traffic Light System State Machine - Stateflow Tutorial

26.3K views
Dec 10, 2020
9:26

How to use stateflow to create finite state machines and also interface it with Simulink. I had to learn how to use stateflow for my Instrumentation & Control module as part of my Electrical Engineering Degree in my second year. Model and simulate decision logic using state machines and flow charts. Stateflow® provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables. You can use Stateflow to describe how MATLAB® algorithms and Simulink® models react to input signals, events, and time-based conditions. Stateflow enables you to design and develop supervisory control, task scheduling, fault management, communication protocols, user interfaces, and hybrid systems. With Stateflow, you model combinatorial and sequential decision logic that can be simulated as a block within a Simulink model or executed as an object in MATLAB. Graphical animation enables you to analyze and debug your logic while it is executing. Edit-time and run-time checks ensure design consistency and completeness before implementation. https://uk.mathworks.com/help/stateflow/getting-started.html ________________________________________________________________________________________ Hi, I'm Hamed, an Electrical & Electronics Engineering Student in Leeds, UK. Visit my website at www.hamed.engineer If you have any questions you can email me at [email protected] or just comment below. Stuff You May Have Seen In My Videos The Oscilloscope I Use (From Banggood): https://www.banggood.com/custlink/vvDYZsbEdF Alternative Oscilloscope £220: https://amzn.to/32JhxXx Elegoo Arduino Most Complete Kit £50: https://amzn.to/3EKfdMZ Elegoo Arduino Basic Kit £15: https://amzn.to/3mSEpL4 Soldering Iron Station £28: https://amzn.to/3eONT5y Handheld Oscilloscope £50: https://amzn.to/3HvJRvy Handheld Oscilloscope £100: https://amzn.to/3ENljMG DIY Function Generator £9.99: https://amzn.to/3JCQrCg Lavolta Power Supply £60: https://amzn.to/3mMvwmb Eventek Power Supply £60: https://amzn.to/3HxP9q3 You Can Also Find The Above For Cheaper On Banggood/Aliexpress

Download

1 formats

Video Formats

360pmp411.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Basic Traffic Light System State Machine - Stateflow Tutorial | NatokHD