Patent ID: 8458655

Claim:
A non-transitory computer-readable medium storing computer-executable instructions that when executed by processing logic interacts with a context in a graphical model, the medium storing one or more instructions for: associating a plurality of blocks having state in the graphical model with a context that includes a reset input, the plurality of blocks including a first block, the context: including logic that allows states for the plurality of blocks associated with the context to be reset without an explicit reset connection from the graphical model to the context or to the plurality of blocks associated with the context, and being located in the graphical model; executing the context, the executing storing the state for the first block in memory; resetting the state for the first block implicitly when an implicit reset signal is received at the reset input while the context is executing, the resetting occurring without stopping and restarting the model and the first block; changing the state for the first block from a first value to a second value while the context executes; and executing the context when the state for the first block has the second value without disabling and re-enabling the first block.