1. A computer-implemented method comprising: providing a coding standard in a graphical modeling environment; applying the coding standard to at least a portion of a graphical model in the graphical modeling environment to detect a violating segment of the graphical model that violates the coding standard; displaying the violating segment of the graphical model differently than a non-violating segment of the graphical model; displaying information on violation of the coding standard associated with the violating segment of the graphical model; automatically generating a coding standard compliant intermediate representation of the graphical model; compiling the graphical model for execution using the coding standard compliant intermediate representation of the graphical model; and generating code for the compiled graphical model.