Patentable/Patents/US-8615715
US-8615715

Handling parameters in block diagram modeling

PublishedDecember 24, 2013
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

A mechanism for processing graphical block diagram parameter expressions is presented. The mechanism achieves optimal implementation of block equations in the execution (run-time) environment by defining a mapping between user-defined block parameters and a run-time version of the parameters. The parameter processing mechanism also pools like, non-interfaced parameter expressions, allowing reuse of both uniform and non-uniform data across constant block parameters in the generated code and during model execution. The parameter processing mechanism further maintains an execution structure that maps the run-time parameter expressions containing interfaced variables to generated code for the block diagram so that the interfaced variables appear in the generated code. This mapping thus allows for interfacing to the interfaced variables in the generated code from any execution framework.

Patent Claims
19 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. In an electronic device, a method of pooling parameters in a graphical modeling environment, the method comprising: generating a first parameter and a second parameter for a graphical model, where the first parameter is different from the second parameter, the first parameter and the second parameter are generated based on a user- specified expression, the first parameter has a first numerical value that is used by at least a first block of the graphical model during execution of the graphical model, the second parameter has a second numerical value that is used by at least a second block of the graphical model during execution of the graphical model, and the generating is performed by the electronic device; providing the first parameter and the second parameter to a data-matching function, the providing performed by the electronic device; determining, using the data-matching function, that the first numerical value of the first parameter is equivalent to the second numerical value of the second parameter during execution of the graphical model; and pooling the first parameter and the second parameter into a pooled run-time parameter based on the determining, where the pooling further comprises: creating, while compiling the graphical model, one memory location for storing both the first parameter and the second parameter using a single value representing the pooled run-time parameter, storing the single value representing the pooled run-time parameter in the one memory location, and storing an indication of the first parameter and the second parameter being represented by the single value, and wherein the first parameter has a first data type that differs from a second data type of the second parameter.

2

2. The method of claim 1 , wherein the first parameter is provided for a first block and the second parameter is provided for a second block.

3

3. The method of claim 2 , wherein the pooled run-time parameter is used during the execution of the graphical model by the first block and the second block.

4

4. The method of claim 2 , wherein the pooled run-time parameter appears in generated code produced from the graphical model for the first block and the second block.

5

5. The method of claim 1 , wherein the first parameter and the second parameter are provided for a same block.

6

6. The method of claim 1 , wherein an exact match criterion is used in the determination of whether the first numerical value of the first parameter is equivalent to the second numerical value of the second parameter during the execution of the graphical model.

7

7. The method of claim 1 , wherein global optimization is used to identify the data-matching function to increase parameter pooling.

8

8. The method of claim 1 , wherein: the first parameter contains portions of an interfaced variable, a value of the interfaced variable being changeable during the execution of the graphical model, and constant portions are pooled.

9

9. A system for pooling parameters in a graphical modeling environment, the system comprising: a processing engine for: generating a first parameter and a second parameter for the graphical model, where: the first parameter is different from the second parameter, the first parameter and the second parameter are generated based on a user-specified expression, the first parameter has a first numerical value that is used by at least a first block of the graphical model during execution of the graphical model, and the second parameter has a second numerical value that is used by at least a second block of the graphical model during execution of the graphical model; providing the first parameter and the second parameter to a data-matching function; determining, using the data-matching function, that the first numerical value of the first parameter is equivalent to the second numerical value of the second parameter during execution of the graphical model; and pooling the first parameter and the second parameter into a pooled run-time parameter based on the determining, where the pooling further comprises: creating, while compiling the graphical model, one memory location for storing both the first parameter and the second parameter using a single value representing the pooled run-time parameter, storing the single value representing the pooled run-time parameter in the one memory location, and storing an indication of the first parameter and the second parameter being represented by the single value, and wherein the first parameter has a first data type that differs from a second data type of the second parameter.

10

10. The system of claim 9 , wherein the processing engine uses an exact match criterion to determine whether numerical value of the first parameter is equivalent to the second numerical value of the second parameter during the execution of the graphical model.

11

11. The method of claim 9 , wherein: the first parameter contains portions of an interfaced variable, a value of the interfaced variable being changeable during the execution of the graphical model, and the processing engine pools constant portions of the first parameter.

12

12. A non-transitory medium for use in a graphical modeling environment on an electronic device, the medium storing instructions executable for pooling parameters in the graphical modeling environment, the medium storing one or more instructions for: generating a first parameter and a second parameter for a graphical model, where: the first parameter is different than the second parameter, the first parameter and the second parameter are generated based on a user-specified expression, the first parameter has a first numerical value that is used by at least a first block of the graphical model during execution of the graphical model, and the second parameter has a second numerical value that is used by at least a second block of the graphical model during execution of the graphical model; providing the first parameter and the second parameter to a data-matching function; determining, using the data-matching function, that the first numerical value of the first parameter is equivalent to the second numerical value of the second parameter during execution of the graphical model; and pooling the first parameter and the second parameter into a pooled run-time parameter based on the determining, wherein the pooling further comprises: creating, while compiling the graphical model, one memory location for storing both the first parameter and the second parameter using a single value representing the pooled run-time parameter, storing single value representing the pooled run-time parameter using the one memory location, and storing an indication of the first parameter and the second parameter being represented by the single value, and wherein the first parameter has a first data type that differs from a second data type of the second parameter.

13

13. The medium of claim 12 , wherein the first parameter is provided for a first block and the second parameter is provided for a second block.

14

14. The medium of claim 13 , wherein the pooled run-time parameter is used during the execution of the graphical model by the first block and the second block.

15

15. The medium of claim 13 , wherein the pooled run-time parameter appears in generated code produced from the graphical model for the first block and the second block.

16

16. The medium of claim 12 , wherein the first parameter and the second parameter are provided for a same block.

17

17. The medium of claim 12 , wherein an exact match criterion is used in the determination of whether the first numerical value of the first parameter is equivalent to the second numerical value of the second parameter during the execution of the graphical model.

18

18. The medium of claim 12 , wherein global optimization is used to identify the data-matching function to increase parameter pooling.

19

19. The medium of claim 12 , wherein: the first parameter contains portions of an interfaced variable, a value of the interfaced variable being changeable during the execution of the graphical model, and constant portions are pooled.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

October 19, 2005

Publication Date

December 24, 2013

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Handling parameters in block diagram modeling” (US-8615715). https://patentable.app/patents/US-8615715

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.