发明名称 Graphical modeling blocks that execute in more than one domain
摘要 A time-driven block provided in a block diagram model may be executed in an event domain without user modification. The time-driven block is connected to one or more event-driven blocks using event domain signals. The time-driven block automatically adapts to the execution rules of the event domain modeling and simulation environment. The blocks that are configured to execute in more than one modeling and simulation environments are called polymorphic blocks. The polymorphic blocks are indentified during the compilation stage of the block diagram model taking into consideration the port and line styles of the blocks. The execution rules of the polymorphic blocks are also determined during the compilation stage of the block diagram model.
申请公布号 US8812283(B1) 申请公布日期 2014.08.19
申请号 US201012723271 申请日期 2010.03.12
申请人 The MathWorks, Inc. 发明人 Li Wei;Ciolfi John Edward;Clune Michael I.
分类号 G06F7/62 主分类号 G06F7/62
代理机构 Harrity & Harrity, LLP 代理人 Harrity & Harrity, LLP
主权项 1. A non-transitory computer-readable storage medium storing instructions, the instructions including: one or more instructions which, when executed by at least one processor, cause the at least one processor to: receive first information associated with a block diagram model, the block diagram model including: one or more event-driven blocks executable in an event domain, andone or more time-driven blocks executable in a time domain; receive second information associated with the one or more event-driven blocks in a first list; receive third information associated with the one or more time-driven blocks in a second list, the second list being different than the first list; analyze, from the first list, information associated with an event-driven block, of the one or more event-driven blocks, to determine: one or more output ports of the event-driven block, andone or more input ports that are connected to the one or more determined output ports; determine if an input port, of the determined one or more input ports, is associated with information in the second list; set, when the input port is associated with the information in the second list, the input port to an event-driven state; and cause, based on setting the input port to the event-driven state, a time-driven block, of the one or more time-driven blocks, to be executed in the event domain, the time-driven block connected to the input port.
地址 Natick MA US