Supplementing the Model with a Procedure
This section explains how to add a handwritten procedure to your Rational Statemate model by showing the following:
Note: Rational Statemate also provides templates for functions and tasks. The subroutine’s template is a result of mapping the declarations into its C representation. This includes mapping the parameter types and, in the case of functions, the returned value.Complete the following steps to add a handwritten procedure:
1.
4. Select Subroutine as the Element Type.
The Properties Editor appears with the name of the new subroutine.
5. Define the Type as a Procedure.
7.