Variants in graphical modeling environments
First Claim
Patent Images
1. A method comprising:
- providing, within a portion of a graphical model having executable semantics, an element having a first variant and a second variant that are parts of the element, where;
the first variant includes at least one computational section that defines a first execution implementation of the element,the second variant includes at least one computational section that defines a second execution implementation of the element, andthe first and second execution implementations defined by the at least one computational sections of the first and second variants are different from each other and represent alternative execution implementations of the element;
selecting the first variant of the element; and
compiling, by a processor, at least the portion of the graphical model using only the first execution implementation defined by the at least one computational section of the first variant of the element, the compiling based on the selecting.
0 Assignments
0 Petitions
Accused Products
Abstract
This invention allows users to build, manipulate, and finally deploy various model configurations with little performance overhead, better syntactic clarity and configuration flexibility.
21 Citations
23 Claims
-
1. A method comprising:
-
providing, within a portion of a graphical model having executable semantics, an element having a first variant and a second variant that are parts of the element, where; the first variant includes at least one computational section that defines a first execution implementation of the element, the second variant includes at least one computational section that defines a second execution implementation of the element, and the first and second execution implementations defined by the at least one computational sections of the first and second variants are different from each other and represent alternative execution implementations of the element; selecting the first variant of the element; and compiling, by a processor, at least the portion of the graphical model using only the first execution implementation defined by the at least one computational section of the first variant of the element, the compiling based on the selecting. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable medium for storing one or more executable instructions, the medium comprising one or more instructions to:
-
provide, within a portion of a graphical model having executable semantics, an element having a first variant and a second variant that are parts of the element, where; the first variant includes at least one computational section that defines a first function for the element, the second variant includes at least one computational section that defines a second function for the element, and the first and second functions defined by the at least one computational sections of the first and second variants are different from each other and represent alternative execution implementations of the element; receive a selection of the first variant of the element; and compile, by a processor, at least the portion of the graphical model using only the first function defined by the at least one computational section of the first variant of the element, the compiling based on the received selection. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus comprising:
-
a memory storing an executable block diagram model, the block diagram model including a component having a first variant and a second variant that are parts of the component, where; the first variant includes at least one computational section that defines a first execution branch through the component, the second variant includes at least one computational section that defines a second execution branch through the component, and the first and second execution branches defined by the at least one computational sections of the first and second variants are different from each other and represent alternative execution implementations of the component; and a processor coupled to the memory, the processor configured to; receive a selection of the first variant of the component; and based on the received selection, compile at least the component of the block diagram model using only the first execution branch defined by the at least one computational section of the first variant of the component. - View Dependent Claims (19, 20, 21, 22, 23)
-
Specification