Supplementing the Model with Subroutines
The following sections explain how to add handwritten subroutines (functions, procedures, or tasks) to your Rational Statemate model.
The method for adding all three subroutines in the Properties Editor is similar. The major difference is that functions require a Return Type.