A protection action analysis method is proposed, in which the action processes of protection relaying are modeled based on the stateflow toolbox in MATLAB with the fault information made good use of. A simulation example of distance protection is given to illustrate the efficacy of the method. The result of simulation shows that using the stateflow toolbox for protection action analysis is intuitive and effective.