Adding User-Written Code : Supplementing the Model with Subroutines

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.

Note: In addition to storing subroutines in the Properties Editor, you can also store their formal parameters.