1. A computer-implemented method comprising: applying, using a computing device, a coding standard to at least a portion of a graphical model during compilation of the graphical model to detect a violating segment of the graphical model, the violating segment violating the coding standard; displaying, using the computing device, the violating segment of the graphical model differently than a non-violating segment of the graphical model; displaying, using the computing device, information on violation of the coding standard associated with the violating segment of the graphical model; and automatically generating, using the computing device and the information on violation of the coding standard, an intermediate representation of the graphical model, the intermediate representation: removing the violation of the coding standard, and complying with the coding standard.
1. A computer-implemented method comprising: applying, using a computing device, a coding standard to at least a portion of a graphical model during compilation of the graphical model to detect a violating segment of the graphical model, the violating segment violating the coding standard; displaying, using the computing device, the violating segment of the graphical model differently than a non-violating segment of the graphical model; displaying, using the computing device, information on violation of the coding standard associated with the violating segment of the graphical model; and automatically generating, using the computing device and the information on violation of the coding standard, an intermediate representation of the graphical model, the intermediate representation: removing the violation of the coding standard, and complying with the coding standard. 5. The method of claim 1 , further comprising: applying the coding standard to at least the portion of the graphical model to avoid violation during code generation for the graphical model.