Patent ID: 8504983

Claim:
A method for generating source code from at least one graphical model in a graphical modeling and execution environment executing on a computing device, the method comprising: defining a custom data storage class in the graphical modeling and execution environment, wherein the defining includes: receiving a user-specification of parameter values for a plurality of pre-defined parameters, and specifying a manner for generating source code using an automatic code generator, wherein the automatic code generator generates source code that implements functionality of the at least one graphical model and that corresponds to data referenced by the at least one graphical model; and generating source code corresponding to the data referenced by the at least one graphical model, wherein the generating comprises: using the custom data storage class to generate the source code corresponding to the data referenced by the at least one graphical model; changing at least one user-specified parameter value for the custom data storage class; and adjusting the source code generated by the automatic code generator to reflect the change in the at least one user-specified parameter value.