发明名称 Generation of code from a graphical model
摘要 A method and system are provided for generating code from a graphical model in a graphical modeling environment. The graphical model includes at least one signal having a data size, a data dimensionality, or both that can vary from a first time instance to a second time instance as the model executes. The size and dimensionality of the signal can vary without the use of a graphically rendered connection to convey the size and dimension information to a block associated with the signal.
申请公布号 US8756046(B2) 申请公布日期 2014.06.17
申请号 US201213366915 申请日期 2012.02.06
申请人 The MathWorks, Inc. 发明人 Linebarger Darel Allen;Feng Haihua;Mani Ramamurthy;Orofino, II Donald Paul
分类号 G06G7/62 主分类号 G06G7/62
代理机构 Nelson Mullins Riley & Scarborough LLP 代理人 Nelson Mullins Riley & Scarborough LLP
主权项 1. A non-transitory computer-readable medium holding instructions executable by a processor, the instructions comprising: instructions that, when executed, cause the processor to: interact with a graphical model that includes; a block, anda connection representing a signal received by or output from the block, wherein: the signal is associated with an attribute,the attribute represents a size or a dimensionality of the signal, andthe size or the dimensionality of the signal changes during an execution of the graphical model; andgenerate code from the graphical model, the generated code comprising: code representing the connection, the code representing the connection implicitly conveying the size or the dimensionality of the signal,code representing the block, the code representing the block: identifying that the attribute of the signal representing the size or the dimensionality of the signal is a variable attribute, andretrieving or setting the size or the dimensionality of the signal using the attribute at a plurality of times during the execution of the model, the retrieving or the setting occurring before reading information from the connection or writing information to the connection.
地址 Natick MA US