Patent ID: 7689970

Claim:
In an electronic device having a graphical modeling and execution environment, said graphical modeling and execution environment including at least one graphical model, a method comprising: providing an automatic code generator to create source code that implements functionality of said at least one graphical model and that corresponds to data referenced by said at least one graphical model; providing a predefined storage class in said graphical modeling and execution environment, said predefined storage class specifying a first manner in which said automatic code generator creates said source code corresponding to said data referenced by said at least one graphical model in said graphical modeling and execution environment; providing a user interface with a plurality of selectable parameters; defining a custom storage class in said graphical modeling and execution environment utilizing parameters selected by a user from said plurality of selectable parameters, said custom storage class specifying a second manner in which said automatic code generator creates source code corresponding to said data referenced by said at least one graphical model in said graphical modeling and execution environment, said second manner differing from said first manner; generating source code implementing said functionality of said at least one graphical model using said automatic code generator, said generating comprising: using said custom storage class to generate source code corresponding to said data referenced by said at least one graphical model; providing a view of salient aspects of said source code generated by said automatic code generator utilizing said user-selected parameters; changing said user-selected parameters for said custom storage class in said user interface; adjusting said source code generated by said automatic code generator to reflect said change in said user-selected parameters; and displaying salient aspects of said adjusted source code in said view of salient aspects of said source code.