You create output linguistic variables similarly to how you create input linguistic variables in the Fuzzy System Designer. Complete the following steps to create an output linguistic variable that corresponds to the Steering Angle φ output linguistic variable of the vehicle maneuvering example.
Click the Add Output Variable button to the right of the Output variables list to display the Edit Variable dialog box.
Enter steering-angle in the Name text box.
Enter a minimum value of -30 and a maximum value of 30. This range specifies that the amount that the steering wheel can turn ranges from -30.0 to 30.0 degrees.
Click the Add Membership Function button to create a new membership function for the steering-angle output variable.
Enter neg-large in the Name text box.
Select Triangle from the Shape pull-down menu to specify that a triangle function determines the degrees of membership for the linguistic variable.
Select the color you want to use for the membership function in the Membership functions graph from the Color picker.
Enter -30, -30, and -15 in the fields of the Points array. These points specify the values of the linguistic variable corresponding to the base and top points, in order from left to right and base to top, of the membership function.
Repeat steps 4 through 8 to create each of the membership functions shown in the following graph.
Click the OK button to save your changes.
Select File�Save As to save the fuzzy system as vehicle_maneuvering.fs in an easily accessible location.