Variants in graphical modeling environments
First Claim
Patent Images
1. A computer-implemented method for compiling a block diagram model in a block diagram modeling environment, the method comprising:
- providing the block diagram model which includes;
an element having multiple implementations,a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, anda second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and
selecting the first variant configuration of the element to;
activate the first implementation, andswap out the second implementation making the second implementation inactive;
compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation.
1 Assignment
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.
-
Citations
33 Claims
-
1. A computer-implemented method for compiling a block diagram model in a block diagram modeling environment, the method comprising:
-
providing the block diagram model which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for saving a block diagram model in a block diagram modeling environment, the method comprising:
-
providing the block diagram model which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation; and saving the block diagram model into a saved model with the first configuration variant, and excluding the second configuration variant from the saved model.
-
-
10. A computer-implemented method for generating code for a block diagram model in a block diagram modeling environment, the method comprising:
-
providing the block diagram model which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation; and generating code for the block diagram model using the first configuration variant, the code for the block diagram model including code for the first configuration variant. - View Dependent Claims (11, 12)
-
-
13. A computer-implemented method for loading a block diagram model in a block diagram modeling environment, the method comprising:
-
providing the block diagram model which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation; and loading the block diagram model with the first configuration variant, the loading excluding the second configuration variant and the second set of intermediate model elements. - View Dependent Claims (14)
-
-
15. A system comprising:
-
a central processing unit configured to; provide the block diagram model in a block diagram modeling environment which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and select the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive;
compile the block diagram model to execute the block diagram model using the first implementation and not using the second implementation.- View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer-implemented method for compiling a block diagram model in a modeling environment, the method comprising:
-
providing the block diagram model which includes; a library containing an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation. - View Dependent Claims (24, 25, 26)
-
-
27. A computing device storage storing instructions executed in a computer for compiling a block diagram model in a block diagram modeling environment, the instructions comprising one or more instructions for:
-
providing the block diagram model which includes; an element having multiple implementations, a first variant configuration of the element representing a first implementation of a portion of the block diagram model, the first implementation containing a first set of zero or more intermediate model blocks, and a second variant configuration of the element representing a second implementation of the portion of the block diagram model, the second implementation containing a second set of zero or more intermediate model blocks, the second set of intermediate model blocks being different from the first set of intermediate model blocks; and selecting the first variant configuration of the element to; activate the first implementation, and swap out the second implementation making the second implementation inactive; compiling the block diagram model to execute the block diagram model using the first implementation and not using the second implementation. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
Specification