In this webinar, we will provide an overview of how to use MATLAB and Simulink for programing robot’s behaviour relevant to robotic student competitions and projects. We will begin by understanding how to represent a robot’s behavior as state machines. We then will proceed to designing state machine to model instantaneous changes using Stateflow. We will eventually understand how to deploy the model on a real hardware.