Legal claims defining the scope of protection, as filed with the USPTO.
1. A device, comprising: one or more processors to: receive a model including a group of blocks; receive a command to execute the model; assign, based on receiving the command, a parameter sample time to a subset of blocks of the group of blocks, the parameter sample time permitting a block, of the subset of blocks, to be executed based on a parameter change event detected during the execution of the model; cause the model to be executed after assigning the parameter sample time to the subset of blocks; detect a parameter change event, associated with the model, prior to the execution of the model being completed, the parameter change event including an event that is external to the execution of the model; cause at least one block, of the subset of blocks, to be executed based on the detecting the parameter change event.
2. The device of claim 1 , where the parameter sample time indicates that each block, of the subset of blocks, is to be executed at a start of the execution of the model; and where the one or more processors, when causing the model to be executed after assigning the parameter sample time to the subset of blocks, are further to: cause the subset of blocks to be executed at a start of the execution of the model.
3. The device of claim 1 , where the one or more processors, after detecting the parameter change event, are further to: cause the execution of the model to pause, the execution of the model being paused while the at least one block, of the subset of blocks, is executed based on detecting the parameter change event; and cause the execution of the model to resume after the at least one block is executed based on detecting the parameter change event.
4. The device of claim 1 , where the one or more processors, when causing the at least one block, of the subset of blocks, to be executed, are to: cause the at least on block to be executed without pausing the execution of the model.
5. The device of claim 1 , where the one or more processors are further to: identify one or more blocks, of the subset of blocks, that are affected by the parameter change event; and where the one or more processors, when causing the at least one block, of the subset of blocks, to be executed based on detecting the parameter change event, are further to: cause the one or more blocks that are affected by the parameter change event to be executed, at least one other block, of the subset of blocks, not being executed based on the detecting the parameter change event.
6. The device of claim 1 , where the one or more processors, when causing the at least one block, of the subset of blocks, to be executed, are to: cause the at least one block to be executed by a target device associated with the model.
7. The device of claim 1 , where the one or more processors are further to: identify a user interaction associated with the model, the user interaction occurring during the execution of the model, and the user interaction being associated with a dialog box for modifying a parameter of a block included in the group of blocks; and where the one or more processors, when detecting the parameter change event, are further to: detect the parameter change event based on the user interaction associated with the model.
8. A computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors, cause the one or more processors to: receive a command to execute a model including a group of blocks; compile the model based on receiving the command, a parameter sample time being assigned to a subset of blocks, of the group of blocks, during the compiling, the parameter sample time allowing a block, of the subset of blocks, to be executed based on an externally created event detected during the execution of the model; cause the model to be executed based on compiling the model; detect the externally created event before the execution of the model is completed; cause at least one block, of the subset of blocks, to be executed based on detecting the externally created event; and provide a result of executing the model.
9. The computer-readable medium of claim 8 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: determine a set of sample time propagation rules associated with the parameter sample time; and where the one or more instructions, that cause the one or more processors to assign the parameter sample time to the subset of blocks, further cause the one or more processors to: assign the parameter sample time to the subset of blocks based on the set of sample time propagation rules.
10. The computer-readable medium of claim 8 , where the one or more instructions, that cause the one or more processors to cause at least one block, of the subset of blocks, to be executed based on detecting the externally created event, cause the one or more processors to: cause the at least one block, of the subset of blocks, to be executed without pausing the execution of the model.
11. The computer-readable medium of claim 8 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: generate program code associated with the model, the program code being generated such that a portion of the program code is generated into a start method of the model, the portion of the program code including program code corresponding to at least one block, of the subset of blocks, to which the parameter sample time is assigned.
12. The computer-readable medium of claim 8 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: generate program code associated with the model, the program code being generated such that a portion of the program code is generated into an output method of another block of the group of blocks, the portion of the program code including program code that corresponds to at least one block, of the subset of blocks, to which the parameter sample time is assigned, and the other block, of the group of blocks, being a block that lies downstream from the at least one block, of the subset of blocks, to which the parameter sample time is assigned.
13. The computer-readable medium of claim 12 , where the one or more instructions, that cause the one or more processors to generate the program code associated with the model, further cause the one or more processors to: compute an output of a block included in the subset of blocks, the block including a parameter that may not be modified during the execution of the model; store the output of the block, generate the program code such that stored output is referenced in the program code, the stored output being referenced allowing the output of the block to be statically determined during execution of the program code.
14. The computer-readable medium of claim 8 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: identify a user interaction associated with the model, the user interaction occurring during the execution of the model, and the user interaction being associated with a human machine interface (HMI) for modifying a parameter of a block included in the subset of blocks; and where the one or more instructions, that cause the one or more processors to detect the externally created event, further cause the one or more processors to: detect the externally created event based on the user interaction associated with the model.
15. The computer-readable medium of claim 8 , where the one or more instructions, that cause the one or more processors to cause the at least one block, of the subset of blocks, to be executed, cause at least one block to be executed by a host device associated with the model.
16. A method, comprising: receiving a model including multiple blocks, the receiving the model being performed by a device; receiving a command to execute the model, the receiving the command being performed by the device; and compiling the model based on receiving the command, the compiling the model including: assigning a sample time to a subset of blocks of the multiple blocks, the sample time permitting a block, of the subset of blocks, to be executed based on an un-modeled event identified during an execution of the model, and the compiling the model being performed by the device.
17. The method of claim 16 , further comprising: causing the model to be executed based on compiling the model; identifying the un-modeled event, associated with the model, prior to the execution of the model completing; and causing one or more blocks, of the subset of blocks, to be executed based on identifying the un-modeled event.
18. The method of claim 17 , where causing the one or more blocks, of the subset of blocks, to be executed based on identifying the un-modeled further comprises: receiving user input indicating that the one or more blocks are to be executed; and causing the one or more blocks to be executed based on receiving the user input.
19. The method of claim 17 where causing the one or more blocks, of the subset of blocks, to be executed further comprises: causing each block, of the subset of blocks, to be executed after identifying the un-modeled event.
20. The method of claim 17 , further comprising: identifying a user interaction associated with the model, the user interaction occurring during the execution of the model, and the user interaction being associated with a block, of the multiple blocks, that is not included in the subset of blocks; and where identifying the un-modeled event further comprises: identifying the un-modeled event based on the user interaction associated with the model.
21. The method of claim 17 , further comprising: obtaining static scheduling information, associated with the one or more blocks, the static scheduling information being determined during compilation of the model; and where causing the one or more blocks, of the subset of blocks, to be executed based on identifying the un-modeled event further comprises: causing the one or more blocks to be executed in accordance with the static scheduling information.
22. The method of claim 16 , further comprising: generating program code associated with the model, the generated program code including a separate entry point for program code that corresponds to at least one block, of the subset of blocks, to which the sample time is assigned.
Unknown
September 8, 2015
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.