1. A method comprising: receiving a selection of a block, of a plurality of blocks, included in a graphical model, the graphical model modeling a system and being executable in a graphical modeling environment to simulate the system, the receiving being performed by a computing device; accessing code generated based on the graphical model, the code being an executable representation of at least a portion of the graphical model, the code including a plurality of code portions, a respective code portion, of the plurality of code portions, being generated based on the block of the plurality of blocks, and the accessing being performed by the computing device; determining, based on receiving the selection of the block and accessing the code, the respective code portion generated based on the block included in the graphical model, the determining being performed by the computing device; providing, for presentation and based on determining the respective code portion, the respective code portion, the providing for presentation the respective code portion being performed by the computing device.