1. A method, comprising: receiving a state chart generated via a technical computing environment, the state chart including a first state block and a second state block, the second state block including textual code understood by a textual engine of the technical computing environment, and the receiving the state chart being performed by a device; receiving, in associated with the second state block, an implicit event command that references an event associated with the first state block, the receiving the implicit event command being performed by the device; initiating execution of the state chart, the initiating the execution of the state chart being performed by the device; receiving, during execution of the state chart, an indication of occurrence of the event associated with the first state block, the receiving the indication being performed by the device; and initiating the second state block based on the indication, the initiating the second state block being performed by the device.