发明名称 Graphical function specialization
摘要 A device receives a state chart generated via a technical computing environment. The state chart includes a function block that includes a function that includes function input(s)/output(s). The state chart includes a state block that includes a function call to the function of the function block. The function call includes call input(s)/output(s). The device initiates execution of the state chart, parses the function into the function input(s)/output(s), and parses the function call into the call input(s)/output(s). The device processes, during the execution of the state chart, the function input(s)/output(s) with a graphical engine of the technical computing environment to generate function-related code. The device processes, during the execution of the state chart, the call input(s)/output(s) with a textual engine of the technical computing environment to generate function call-related code, and provides the function-related code and the function call-related code in generated code.
申请公布号 US9513880(B2) 申请公布日期 2016.12.06
申请号 US201414286035 申请日期 2014.05.23
申请人 The MathWorks, Inc. 发明人 Avadhanula Srinath;Mosterman Pieter J.;Mestchian Ebrahim
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 Harrity & Harrity, LLP 代理人 Harrity & Harrity, LLP
主权项 1. A method, comprising: receiving a state chart generated via a technical computing environment, the state chart including at least one function block that includes a function, the function including one or more function inputs and one or more function outputs,the state chart including at least one state block that includes a function call to the function of the at least one function block, the function call including one or more call inputs and one or more call outputs, andthe receiving the state chart being performed by a device; initiating execution of the state chart, the initiating the execution of the state chart being performed by the device; parsing, during the execution of the state chart, the function into the one or more function inputs and the one or more function outputs, the parsing the function being performed by the device; parsing, during the execution of the state chart, the function call into the one or more call inputs and the one or more call outputs, the parsing the function call being performed by the device; transforming a portion of the function, which is not understood by a graphical engine of the technical computing environment, into a transformed portion of the function that is understood by the graphical engine, the transforming the portion of the function into the transformed portion of the function including: providing text included in the portion of the function to a transformer, andtransforming, with the transformer, the text included in the portion of the function so that the text is understood by the graphical engine, the text included in the portion of the function not being understood by the graphical engine,the transforming being performed by the device; processing, during the execution of the state chart, the one or more function inputs, the one or more function outputs, and the transformed portion of the function with the graphical engine of the technical computing environment to generate function-related code, the processing the one or more function inputs, the one or more function outputs, and the transformed portion of the function being performed by the device; processing, during the execution of the state chart, the one or more call inputs and the one or more call outputs with a textual engine of the technical computing environment to generate function call-related code, the processing the one or more call inputs and the one or more call outputs being performed by the device; and providing the function-related code and the function call-related code in generated code, the providing being performed by the device.
地址 Natick MA US