Invention Grant
- Patent Title: Contextual verification of generated code
- Patent Title (中): 生成代码的上下文验证
-
Application No.: US13285845Application Date: 2011-10-31
-
Publication No.: US08972931B1Publication Date: 2015-03-03
- Inventor: Aravind Pillarisetti
- Applicant: Aravind Pillarisetti
- Applicant Address: US MA Natick
- Assignee: The MathWorks, Inc.
- Current Assignee: The MathWorks, Inc.
- Current Assignee Address: US MA Natick
- Agency: Cesari and McKenna, LLP
- Agent Michael R. Reinemann
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
Functional testing of computer programming code generated from an executable graphical model is performed. The model may include a plurality of graphical objects. The generated code may be stand-alone code, and may include a plurality of functions. A designation of one of the graphical objects may be received. The designated object has input/output defined graphically in the model. Meta-data mapping the designated object to one or more functions of the generated code may be created. The meta-data may also map the graphically defined input/output for the designated object to function input/output of the one or more functions of the generated code. A function interface may be generated using the meta-data that includes a call to the one or more functions, and the function input/output. During execution of the model, execution of the designated object is by-passed and the function interface and the portion of the generated code are executed.
Information query