MATLAB: How to enable the ruler in GUI

ruler in gui

Hi all,
Could someone tell me how to enable the ruler in GUI. It is the same as the following picture.
Thanks.

Best Answer

Goto:- Tools -> Grid & Rulers ->Check Show Ruler CheckBox.