Graphical model preparation for embedded deployment
First Claim
1. A computer implemented method for generating embedded code from a graphical model in a graphical modeling environment, the method comprising:
- identifying, by at least one processor, a block diagram for execution, the block diagram containing one or more objects of the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, or algebraic equations, the graphical model being capable of simulation based on the equations;
acquiring, by the at least one processor, at least one general condition related to at least one general code generation goal for the graphical model, the at least one general code generation goal being used with the block diagram to generate embedded code from the graphical model, the at least one general code generation goal relating to one or more characteristics of the code to be generated from the graphical model;
configuring, by the at least one processor, one or more parameters within the graphical model based on the at least one general condition related to at least one general code generation goal;
identifying, using the at least one processor, at least one object of the graphical model that has parameters that are inconsistent with the at least one general condition related to the at least one general code generation goal;
modifying, using the at least one processor, the inconsistent parameters of the graphical model to comply with the at least one general condition;
presenting, by the at least one processor, one or more configuration options for specifying at least one detailed code generation goal for the graphical model, wherein the detailed code generation goal configuration options for the graphical model are generated based on the at least one general condition related to the at least one general code generation goal, the at least one detailed code generation goal comprises configuration options based on at least one of;
target environment, block diagram optimizations, data, parameters, signals, traceability, reporting, validation, or model interfaces; and
generating, by the at least one processor, embedded code in accordance with the at least one detailed code generation goal.
0 Assignments
0 Petitions
Accused Products
Abstract
A computer implemented method for generating embedded code from a graphical model which includes: acquiring at least one condition related to at least one code generation goal, 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; and identifying, using a microprocessor, conditions that are inconsistent with the at least one code generation goal.
-
Citations
29 Claims
-
1. A computer implemented method for generating embedded code from a graphical model in a graphical modeling environment, the method comprising:
-
identifying, by at least one processor, a block diagram for execution, the block diagram containing one or more objects of the graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, or algebraic equations, the graphical model being capable of simulation based on the equations; acquiring, by the at least one processor, at least one general condition related to at least one general code generation goal for the graphical model, the at least one general code generation goal being used with the block diagram to generate embedded code from the graphical model, the at least one general code generation goal relating to one or more characteristics of the code to be generated from the graphical model; configuring, by the at least one processor, one or more parameters within the graphical model based on the at least one general condition related to at least one general code generation goal; identifying, using the at least one processor, at least one object of the graphical model that has parameters that are inconsistent with the at least one general condition related to the at least one general code generation goal; modifying, using the at least one processor, the inconsistent parameters of the graphical model to comply with the at least one general condition; presenting, by the at least one processor, one or more configuration options for specifying at least one detailed code generation goal for the graphical model, wherein the detailed code generation goal configuration options for the graphical model are generated based on the at least one general condition related to the at least one general code generation goal, the at least one detailed code generation goal comprises configuration options based on at least one of;
target environment, block diagram optimizations, data, parameters, signals, traceability, reporting, validation, or model interfaces; andgenerating, by the at least one processor, embedded code in accordance with the at least one detailed code generation goal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium with an executable program stored thereon, wherein the program instructs at least one processor to perform the following steps in a graphical modeling environment:
-
one or more instructions for identifying, by the at least one processor, a block diagram for execution, the block diagram containing one or more objects of a graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, or algebraic equations, the graphical model being capable of simulation based on the equations; one or more instructions for acquiring, by the at least one processor, at least one general condition related to at least one general code generation goal for the graphical model, the acquired at least one general code generation goal being used with the block diagram to generate embedded code from the graphical model, the acquired at least one general code generation goal relating to one or more characteristics of the code to be generated from the graphical model; one or more instructions for configuring, by the at least one processor, one or more parameters within the graphical model based on the at least one general condition related to at least one general code generation goal; one or more instructions for identifying, by the at least one processor, at least one object of the graphical model that has parameters that are inconsistent with the at least one general condition related to at least one general code generation goal; one or more instructions for modifying the inconsistent parameters of the graphical model to comply with the at least one general condition; one or more instructions for presenting, by the at least one processor, one or more configuration options for specifying at least one detailed code generation goal for the graphical model, wherein the detailed code generation goal configuration options for the graphical model are generated based on the at least one general condition related to the at least one general code generation goal, the at least one detailed code generation goal comprises configuration options based on at least one of;
target environment, block diagram optimizations, data, parameters, signals, traceability, reporting, validation, or model interfaces; andone or more instructions for generating embedded code in accordance with the at least one detailed code generation goal. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. 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 one or more instructions for; identifying a block diagram for execution, the block diagram containing one or more objects of a graphical model, the graphical model representing a dynamic system having time-changing behavior modeled with differential, difference, or algebraic equations, the graphical model being capable of simulation based on the equations, acquiring at least one general condition related to at least one general code generation goal for the graphical model, the at least one general code generation goal being used with the block diagram to generate embedded code from the graphical model, the at least one general code generation goal relating to one or more characteristics of the code to be generated from the graphical model, configuring one or more parameters within the graphical model based on the at least one general condition related to at least one general code generation goal, identifying at least one object of the graphical model that has parameters that are inconsistent with the at least one general condition related to the at least one general code generation goal, modifying the inconsistent parameters of the graphical model to comply with the at least one general condition, presenting one or more configuration options for specifying at least one detailed code generation goal for the graphical model, wherein the detailed code generation goal configuration options for the graphical model are generated based on the at least one general condition related to the at least one general code generation goal, the at least one detailed code generation goal comprises configuration options based on at least one of;
target environment, block diagram optimizations, data, parameters, signals, traceability, reporting, validation, or model interfaces; andgenerating embedded code in accordance with the at least one detailed code generation goal. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29)
-
Specification