Method and system for transferring data between a discrete event environment and an external environment
AssigneeThe MathWorks, Inc.
InventorMichael I. Clune
Life of this patent
Estimating the term…
Abstract
In one embodiment, a model of a system includes one or more event-driven blocks and one or more time-driven blocks. The model is executed in part by receiving an entity from a event-driven block, and in response to receiving the entity, generating a time-varying data signal descriptive of the entity. The data signal is passed to one or more time-driven blocks, which generate one or more results at least in part from the data signal, and display at least some of the one or more results.
Claims24
A method comprising:
- receiving at a gateway block, an entity from an event-driven block of a block diagram model of a system, the event-driven block defining behavior of a portion of the system in terms of states occurring in response to discrete events, the entity being received on an entity path, the entity path being associated with no value when no entity is passing through the entity path;
- generating in the gateway block, using a processor, a time-varying data signal descriptive of the entity based at least on at least one of data and an attribute included in the entity;
- and
- passing from the gateway block, the generated data signal to one or more time-driven blocks of the model of the system via one or more signal paths, the one or more time-driven blocks defining behavior of a portion of the system in terms of response to time.
A method comprising:
- receiving at a gateway block, a time-varying data signal from a time-driven block of a block diagram model of a system via a signal path, the time-driven block defining behavior in terms of response to time;
- receiving at the gateway block, using a processor, an entity from an event-driven block of the block diagram model, the event-driven block defining behavior in terms of states occurring in response to discrete events, the entity being received on an entity path, the entity path being associated with no value when no entity is passing through the entity path;
- and
- modifying in the gateway block, at least one of data and an attribute included in the entity based at least on a value of the received data signal.
An electronic-device-readable non-transitory media comprising instructions executable by a processor, the media comprising one or more instructions that when executed by the processor performs:
- receiving at a gateway block an entity from an event-driven component of a model, the event-driven component defining behavior of a portion of a system in terms of states occurring in response to discrete events, the entity being received on an entity path, the entity path being associated with no value when no entity is passing through the entity path;
- generating in the gateway block a time-varying data signal descriptive of the entity based at least on at least one of an attribute and data included in the entity;
- and
- passing from the gateway block the generated data signal to one or more time-driven components of the model via one or more signal paths, the time-driven components defining behavior of a portion of the system in terms of response to time.
An apparatus comprising:
- means for receiving at a gateway block a time-varying data signal from a time-driven block of a block diagram model of a system via a signal path, the time-driven block defining behavior in terms of a response to time, the entity being received on an entity path, the entity path being associated with no value when no entity is passing through the entity path;
- a processor generating in the gateway block an entity the entity including at least one of an attribute and data that is generated based at least on the received data signal;
- and
- means for passing the entity from the gateway block to an event-driven block of the block diagram model, the event-driven block defining behavior in terms of states occurring in response to discrete events.
An apparatus comprising:
- a processor to:
- execute a model of a system, the model including:
- a first portion with one or more time-driven components, the time-driven components passing one or more time-varying data signals via one or more signals via one or more signal paths to a gateway block, and
- a second portion with one or more event-driven components, the event-driven components passing one or more entities, the one or more entities being passed on an entity path to the gateway block, the entity path being associated with no value when no entity is passing through the entity path, and
- generate in the gateway block an entity based at least on a time-varying data signal from a time-driven component of the first portion.
An electronic-device-readable non-transitory media comprising instructions executable by a processor, the media comprising one or more instructions that when executed by the processor performs:
- receiving in a gateway block a time-varying data signal from a time-driven block of a block diagram model via a signal path, the time-driven block defining behavior in terms of response to time;
- receiving in the gateway block an entity from an event-driven block of the block diagram model, the event-driven block defining behavior in terms of one or more states occurring in response to discrete events, the entity being received on an entity path, the entity path being associated with no value when no entity is passing through the entity path;
- and
- modifying in the gateway block at least one of an attribute and data included in the entity based at least on a value of the received data signal.
Dependencies are inferred from the claim text.