发明名称 Applying coding standards in graphical programming environments
摘要 Graphical programming or modeling environments in which a coding standard can be applied to graphical programs or models are disclosed. The present invention provides mechanisms for applying the coding standard to graphical programs/models in the graphical programming/modeling environments. The mechanisms may detect violations of the coding standard in the graphical model and report such violations to the users. The mechanisms may automatically correct the graphical model to remove the violations from the graphical model. The mechanisms may also automatically avoid the violations in the simulation and/or code generation of the graphical model.
申请公布号 US9043748(B2) 申请公布日期 2015.05.26
申请号 US201313753080 申请日期 2013.01.29
申请人 The MathWorks, Inc. 发明人 Szpak Peter
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 Nelson Mullins Riley & Scarborough LLP 代理人 Nelson Mullins Riley & Scarborough LLP
主权项 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.
地址 Natick MA US