**3.3. Magnitude of Voltage (A, B and C phase), user had used value box or slider bar**

This group used the Edit Text and Slider object. The Edit Text and Slider object set the default value as 100%. In the property inspector of three Edit Text changed the String to "100", Max to "1.0" and Min to "0.0", as shown in Fig. 5. The String in Edit Text property to changed to the number value in m-file. In the property inspector of three Slider changed the Value to "[100.0]", Max to "100.0" and Min to "0.0", as shown in Fig. 6.


**Figure 3.** The property inspector of Axes1 assigned name to "Time\_Plot".


**Figure 4.** The property inspector of Axes2 assigned name to "Com\_pass".


**Figure 5.** The property inspector of Edit Text (Magnitude) set Max and Min. (Magnitude) set Max and Min.


**Figure 6.** The property inspector of Slider.

116 MATLAB – A Fundamental Tool for Scientific Computing and Engineering Applications – Volume 1

**Figure 3.** The property inspector of Axes1 assigned name to "Time\_Plot".

**Figure 4.** The property inspector of Axes2 assigned name to "Com\_pass".

Min.

**Figure 5.** The property inspector of Edit Text (Magnitude) set Max and Min. (Magnitude) set Max and

## **3.4. Phase angle jump of voltage sag on A, B or C phase**

This group used the Edit Text ( ) and Slider ( ) object, that the same as Magnitude group. In the property inspector of three Edit Text changed the String to "0", Max to "1.0" and Min to "0.0", as shown in Fig. 7. The String in Edit Text property to changed to the number value in m-file. In the property inspector of three Slider changed the Value to "[0,0]", Max to "90.0" and Min to "-90.0", as shown in Fig. 8.
