Graphical model preparation for embedded deployment
First Claim
1. A computer implemented method for generating embedded code from a graphical model, the method comprising:
- prompting a user to specify at least one code generation goal from a plurality of code generation goals, the at least one code generation goal being used to generate embedded code from the graphical model in a graphical modeling environment, the at least one code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations;
changing parameters of the graphical model that are inconsistent with the at least one code generation goal; and
generating embedded code in accordance with the at least one code generation goal.
1 Assignment
0 Petitions
Accused Products
Abstract
A software tool in a graphical modeling environment guides a user through the process of preparing a graphical model for embedded code generation. The software tool prompts the user to specify code generation goals for the embedded code and provides feedback to the user regarding the compliance of the graphical model with the specified goals. The software tool can perform selected checks and analysis on the graphical model prior to code generation to ensure compliance with specified conditions. The software tool update parameters of the graphical model to comply with the specified goals, to produce optimized target software based on the model.
39 Citations
35 Claims
-
1. A computer implemented method for generating embedded code from a graphical model, the method comprising:
-
prompting a user to specify at least one code generation goal from a plurality of code generation goals, the at least one code generation goal being used to generate embedded code from the graphical model in a graphical modeling environment, the at least one code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; changing parameters of the graphical model that are inconsistent with the at least one code generation goal; and generating embedded code in accordance with the at least one code generation goal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 35)
-
-
14. A computer-implemented method of preparing a graphical model for embedded code generation, the method comprising:
-
acquiring a code generation goal, the code generation goal being used to generate embedded code from the graphical model, the code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; changing parameters of the graphical model that are inconsistent with the code generation goal; and generating embedded code in accordance with the code generation goal. - View Dependent Claims (15)
-
-
16. A computer-implemented method of preparing a graphical model for embedded code generation, the method comprising:
-
acquiring at least one code generation goal, the acquired at least one code generation goal being used to generate embedded code from the graphical model, the acquired at least one code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; displaying information regarding compliance of the graphical model with the acquired at least one code generation goal; changing parameters of the graphical model that are inconsistent with the acquired at least one code generation goal; and generating embedded code in accordance with the acquired at least one code generation goal. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. In a graphical modeling environment, a computer-readable medium holding computer-executable instructions the medium holding:
-
one or more instructions for acquiring at least one code generation goal, the acquired at least one code generation goal being used to generate embedded code from the graphical model, the acquired at least one code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; one or more instructions for displaying information regarding compliance of the graphical model with the acquired at least one code generation goal; one or more instructions for changing parameters of the graphical model that are inconsistent with the acquired at least one code generation goal; and one or more instructions for generating embedded code in accordance with the acquired at least one code generation goal.
-
-
29. In a graphical modeling environment, a computer-readable medium holding computer-executable instructions the medium holding:
-
one or more instructions for acquiring a code generation goal, the code generation goal being used to generate embedded code from the graphical model, the code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; one or more instructions for changing parameters of the graphical model that are inconsistent with the code generation goal; and one or more instructions for generating embedded code in accordance with the code generation goal.
-
-
30. In a graphical modeling environment, a computer-readable medium holding computer-executable instructions the medium holding:
-
one or more instructions for prompting a user to specify at least one code generation goal from a plurality of code generation goals, the at least one code generation goal being used to generate embedded code from the graphical model in a graphical modeling environment, the at least one code generation goal relating to a characteristic of the code to be generated from the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations; one or more instructions for changing parameters of the graphical model that are inconsistent with the at least one code generation goal; and one or more instructions for generating embedded code in accordance with the at least one code generation goal.
-
-
31. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; and a computer program residing in the memory and being executed by the at least one processor, wherein the computer program includes a wizard for guiding a user through a process for preparing a graphical model for a code generation process for creating code based on the graphical model and at least one code generation goal, wherein the at least one code generation goal relates to a characteristic of the code, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, and/or algebraic equations, the graphical model being capable of simulation based on the equations;
wherein the wizard configures the graphical model based on the at least one code generation goal, wherein the computer program generates code in compliance with the at least one code generation goal. - View Dependent Claims (32, 33, 34)
-
Specification