Patent attributes
A system and method enable a user to specify function signatures for automated code generators to generate code based on a model representation. The method for automatically generating a function based on the model representation includes providing at least a portion of the model representation. A function signature is received for the model representation. The function signature is generated by a user. The function is generated based on the model representation and the function signature. A user interface can be provided to enable the user to enter the function signature and also to present a preview of a function that results from the function signature as modifications are made to the function signature. The user can enter the function signature using regular expressions, if desired.