I am working on helping my students create a Matlab project that will allow the students to use the virtual robot provided for the BEST robotics game. The template provided will only allow one function to be performed by one keystoke at a time. I belive I need to create a state flow so that we could latch an unlatch onto cells in the game. I watched the stateflow on and off light bulb example, but I am in need of an example that uses similar variables so I can help create with the students a program that will hold onto a cell and let us move around the field and then release the cell. Our local hub has been unable to help us with this problem. Is there any guidance in the Matlab community that could provide some help?
Deming High School