Configuring attributes using configuration subgraphs
AssigneeThe MathWorks, Inc.
InventorsHaihua Feng, John Edward Ciolfi, Ricardo Monteiro, Ramamurthy Mani
Life of this patent
Estimating the term…
Abstract
In an embodiment, a specification of a configuration subgraph is received. The configuration subgraph may graphically specify an attribute for an element in a block diagram model. A relationship may be established between the configuration subgraph and the element. The configuration subgraph may be evaluated to produce a result. The result may be used to configure the attribute of the element during or prior to a compilation of a dynamic portion of the block diagram model. The configuration subgraph may not be used during an execution of the dynamic portion of the block diagram model.
Claims19
A computing device implemented method, comprising:
- accessing, using processing logic, a block diagram model, the block diagram model:
- having a dynamic portion, the dynamic portion associated with an element having an attribute, and
- having a configuration subgraph portion with a graphical entity for configuring the attribute of the element of the dynamic portion, the configuration subgraph portion being directly or indirectly connected to the dynamic portion through a connection;
- evaluating, using the processing logic, the configuration subgraph portion of the block diagram model, the evaluating comprising:
- associating a flag with the attribute of the element of the dynamic portion,
- propagating the flag backwards from the element of the dynamic portion to the graphical entity of the configuration subgraph portion using the connection,
- accessing the graphical entity of the configuration subgraph portion prior to compiling the dynamic portion, and
- executing the graphical entity to configure the attribute of the element of the dynamic portion,
- the configuring based on the executing of the graphical entity in the configuration subgraph portion, and
- the configuring performed prior to executing the dynamic portion of the model;
- and
- executing the dynamic portion of the block diagram model, the dynamic portion of the block diagram model having the configured attribute of the element.
One or more non-transitory computer-readable storage media storing:
- one or more computer-executable instructions that, when executed by processing logic, cause the processing logic to:
- access a block diagram model, the block diagram model:
- having a dynamic portion, the dynamic portion associated with an element having an attribute, and
- having a configuration subgraph portion with a graphical entity for configuring the attribute of the element of the dynamic portion, the configuration subgraph portion being directly or indirectly connected to the dynamic portion through a connection;
- evaluate the configuration subgraph portion of the block diagram model, the evaluating comprising:
- associating a flag with the attribute of the element of the dynamic portion,
- propagating the flag backwards from the element of the dynamic portion to the graphical entity of the configuration subgraph portion using the connection,
- accessing the graphical entity of the configuration subgraph portion prior to compiling the dynamic portion, and
- executing the graphical entity to configure the attribute of the element of the dynamic portion,
- the configuring based on the executing of the graphical entity in the configuration subgraph portion, and
- the configuring performed prior to executing the dynamic portion of the model;
- and
- execute the dynamic portion of the block diagram model, the dynamic portion of the block diagram model having the configured attribute of the element.
A system comprising:
- processing logic for:
- accessing a block diagram model, the block diagram model:
- having a dynamic portion, the dynamic portion associated with an element having an attribute, and
- having a configuration subgraph portion with a graphical entity for configuring the attribute of the element of the dynamic portion, the configuration subgraph portion being directly or indirectly connected to the dynamic portion through a connection;
- evaluating the configuration subgraph portion of the block diagram model, the evaluating comprising:
- associating a flag with the attribute of the element of the dynamic portion,
- propagating the flag backwards from the element of the dynamic portion to the graphical entity of the configuration subgraph portion using the connection,
- accessing the graphical entity of the configuration subgraph portion prior to compiling the dynamic portion, and
- executing the graphical entity to configure the attribute of the element of the dynamic portion,
- the configuring based on the executing of the graphical entity in the configuration subgraph portion, and
- the configuring performed prior to executing the dynamic portion of the model;
- and
- executing the dynamic portion of the block diagram model, the dynamic portion of the block diagram model having the configured attribute of the element.
Dependencies are inferred from the claim text.