Automatic propagation of changes in a referenced entity
AssigneeThe MathWorks, Inc.
InventorJamieson M. Cobleigh
Life of this patent
Estimating the term…
Abstract
In an embodiment, a technique for changing a parent model based on changes made to a referenced model. The technique may include receiving one or more changes for the referenced model. The referenced model may be changed based on the received one or more changes. Change information about the one or more changes to the referenced model is maintained. A reference to the referenced model from the parent model is processed. Processing may include changing the parent model based on the maintained change information for the referenced model.
Claims22
One or more non-transitory computer-readable storage media to store instructions, the instructions comprising:
- one or more instructions that when executed by processing logic of a computer, cause the processing logic to:
- identify one or more changes to a first executable model,
- the first executable model including:
- a first operation, and
- a first connection to receive a first input to the first operation or to provide a first output from the first operation,
- the one or more changes to the first executable model including a change to at least one of the first operation, the first connection, the first input, or the first output;
- maintain first change information about the one or more changes to the first executable model,
- the first change information including data identifying the change to the at least one of the first operation, the first connection, the first input, or the first output;
- process a second executable model that references the first executable model,
- the second executable model including:
- a second operation, and
- a second connection to receive a second input to the second operation or to provide a second output from the second operation, and
- the one or more instructions to process the second executable model including:
- one or more instructions that, when executed by the processing logic, cause the processing logic to make one or more changes to the second executable model based on the first change information,
- the one or more changes to the second executable model including a change to at least one of the second operation, the second connection, the second input, or the second output;
- maintain second change information identifying the one or more changes to the second executable model;
- receive, after processing the second executable model, a request to undo a change of the one or more changes to the first executable model;
- undo, based on the request, the change to the first executable model using the first change information;
- and
- undo, using the second change information, a change, of the one or more changes to the second executable model, based on undoing the change to the first executable model.
A method comprising:
- identifying one or more changes to a first executable model,
- the first executable model including:
- a first operation, and
- a first connection to receive a first input to the first operation or to provide a first output from the first operation,
- the one or more changes to the first executable model including a change to at least one of the first operation, the first connection, the first input, or the first output, and
- the identifying being performed by a computing device;
- maintaining first change information identifying the one or more changes to the first executable model,
- the first change information including data identifying the change to the at least one of the first operation, the first connection, the first input, or the first output, and
- the maintaining the first change information being performed by the computing device;
- processing a second executable model that references the first executable model,
- the second executable model including:
- a second operation, and
- a second connection to receive a second input to the second operation or to provide a second output from the second operation,
- the processing the second executable model including:
- making one or more changes to the second executable model based on the first information,
- the one or more changes to the second executable model including a change to at least one of the second operation, the second connection, the second input, or the second output, and
- the processing being performed by the computing device;
- maintaining second change information identifying the one or more changes to the second executable model,
- the maintaining the second change information being performed by the computing device;
- receiving, after processing the second executable model, a request to undo a change of the one or more changes to the first executable model,
- the receiving being performed by the computing device;
- undoing, based on the request, the change to the first executable model using the first change information,
- the undoing the change to the first executable model being performed by the computing device;
- and
- undoing, using the second change information, a change, of the one or more changes to the second executable model, based on undoing the change to the first executable model,
- the undoing the change to the second executable model being performed by the computing device.
A system comprising:
- memory;
- and
- processing logic to:
- identify one or more changes to a first executable model,
- the first executable model including:
- a first operation, and
- a first connection to receive a first input to the first operation or to provide a first output from the first operation, and
- the one or more changes to the first executable model including a change to at least one of the first operation, the first connection, the first input, or the first output,
- maintain, in the memory, first change information identifying the one or more changes to the first executable model,
- the first change information including data identifying the change to the at least one of the first operation, the first connection, the first input, or the first output,
- process a second executable model that references the first executable model,
- the second executable model including:
- a second operation, and
- a second connection to receive a second input to the second operation or to provide a second output from the second operation, and
- the processing logic, when processing the second executable model, being further to:
- make one or more changes to the second executable model based on the first change information,
- the one or more changes to the second executable model including a change to at least one of the second operation, the second connection, the second operation, or the second output,
- maintain, in the memory, second change information identifying the one or more changes to the second executable model,
- receive, after processing the second executable model, a request to undo a change of the one or more changes to the first executable model,
- undo, based on the request, the change to the first executable model using the first change information, and
- undo, using the second change information, a change, of the one or more changes to the second executable model, based on undoing the change to the first executable model.
An apparatus comprising:
- means for identifying one or more changes to a first executable model,
- the first executable model including:
- a first operation, and
- a first connection to receive a first input to the first operation or to provide a first output from the first operation, and
- the one or more changes to the first executable model including a change to at least one of the first operation, the first connection, the first input, or the first output;
- means for maintaining first change information about the one or more changes to the first executable model,
- the first change information including data identifying the change to the at least one of the first operation, the first connection, the first input, or the first output;
- means for processing a second executable model that references the first executable model,
- the second executable model including:
- a second operation, and
- a second connection to receive a second input to the second operation or to provide a second output from the second operation, and
- the means for processing the second executable model including:
- means for making one or more changes to the second executable model, based on the first change information,
- the one or more changes to the second executable model including a change to at least one of the second operation, the second connection, the second input, or the second output;
- means for maintaining second change information identifying the one or more changes to the second executable model;
- means for receiving, after processing the second executable model, a request to undo a change of the one or more changes to the first executable model;
- means for undoing, based on the request, the change to the first executable model using the first change information;
- and
- means for undoing, using the second change information, a change, of the one or more changes to the second executable model, based on undoing the change to the first executable model.
Dependencies are inferred from the claim text.