Applying coding standards in graphical programming environments
AssigneeThe MathWorks, Inc.
InventorPeter Szpak
Life of this patent
Estimating the term…
Abstract
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.
Claims44
In an electronic device that provides a modeling environment, a method for applying a coding standard to a model in the modeling environment, the method comprising the steps of:
- providing a coding standard in the modeling environment;
- and
- applying the coding standard to a model to detect violations of the coding standard in the model.
A system for applying a coding standard to a model in a modeling environment, wherein the system includes a display device, the system comprising:
- a storage for containing at least a coding standard in the modeling environment;
- and
- a processor for applying the coding standard to a model to detect violations of the coding standard in the model.
A computer program product for holding instructions executed in a computer to generate a model in a modeling environment, comprising:
- providing a coding standard in the modeling environment;
- and
- applying the coding standard to a model to detect violations of the coding standard in the model.
In a server that provides a modeling environment, a method for applying a coding standard to a model in the modeling environment, the method comprising the steps of:
- applying the coding standard to a model to detect violations of the coding standard in the model, and
- sending a result of applying the coding standard to a client over a communication network.
In a client that provides a modeling environment, a method for applying a coding standard to a model in the modeling environment, the method comprising the steps of:
- receiving a coding standard;
- and
- applying the coding standard to a model to detect violations of the coding standard in the model.
Dependencies are inferred from the claim text.