Generated code from graphical user interface
AssigneeThe MathWorks, Inc.
InventorsMary Ann Branch Freeman, Thomas Paul Lane
Life of this patent
Estimating the term…
Abstract
A method and graphical user interface (GUI) are provided. The method includes generating a file of executable code in a dynamically typed programming language that regenerates computations and results of a graphical user interface (GUI). The GUI includes a data GUI for importing data, viewing data, generating data and generating exclusion sets for data, a fitting GUI for fitting models to data, a plotting GUI for controlling the plotting of data and fitted models, and a display window for previewing a plot.
Claims20
A non-transitory computer-readable medium holding executable instructions for performing a method for generating executable code based on a user selection, the medium comprising:
- instructions for receiving the user selection via a graphical user interface (GUI), where the user selection is related to a processing choice used to generate a result on behalf of the user;
- instructions for generating dynamically typed programming language code using information about a state of the GUI, where the state of the GUI is related to the user selection or the processing choice;
- and
- instructions for storing the generated dynamically typed programming language code, where the stored generated dynamically typed programming language code reproduces the result by applying the user selection or the processing choice to information when the generated dynamically typed programming language code is executed.
A non-transitory computer-readable medium holding executable instructions for performing a method for code generation, the medium comprising:
- instructions for retrieving a processing choice from a data structure, the processing choice determined by a user interacting with a graphical user interface (GUI);
- generating a result by processing information, where the result is produced in response to applying the processing choice to the information;
- and
- generating dynamically typed programming language code, where the generated dynamically typed programming language code is displayable to the user as source code, and where the generated dynamically typed programming language code reproduces the result when executed.
A computer system for generating code based on a user selection, the computer system comprising:
- a graphical user interface to:
- receive the user selection, and
- display a result to a user, where the result is produced by processing data;
- a processor to:
- generate dynamically typed programming language code based on the user selection, and
- execute the generated code to reproduce the result based on an instruction received via a command line interface or via the graphical user interface;
- and
- a data structure to:
- store the user selection, the data, the generated code, or the result.
A non-transitory computer-readable medium holding executable instructions for performing a method for reproducing a result using generated dynamically typed programming language code, the medium comprising:
- instructions for receiving a user selection via a graphical user interface (GUI), where the user selection is related to a processing choice that produces the result when the processing choice is applied to data;
- instructions for storing the user selection, the processing choice, the result, or the data in a data structure;
- and
- instructions for generating the dynamically typed programming language code, where the generated dynamically typed programming language code is used to process the data when the processing choice is received from the data structure, wherein the generated dynamically typed programming language code reproduces the result when the generated dynamically typed programming language code is used with the data.
A non-transitory computer-readable medium comprising executable instructions for performing a method for generating dynamically typed programming language code, the medium comprising:
- instructions for accessing processing choices stored in one or more data structures, where the processing choices are determined when a user interacts with a graphical user interface (GUI);
- instructions for generating the dynamically typed programming language code in response to a request received from the user, the generating producing a plurality of string arrays holding blocks of code;
- and
- instructions for reproducing a result by executing the generated dynamically typed programming language code, where the executing interacts with at least a subset of the plurality of string arrays, and where the result is produced when the processing choices are applied to data.
Dependencies are inferred from the claim text.