The understanding of transient stability in power systems is one of the most challenging research areas in electrical engineering. The transient stability analysis is considered a domain gramental topic to Electric Engineering undergraduate programs. In this paper, we propose a software oriented for teaching transient stability in undergraduate courses in electrical engineering. The final goal of this simulator is to present timely information about stability margins. The efficacy of the proposed simulator is assessed in a multimachine transmission system using MATLAB simulation under various transient disturbances and operating conditions. It will be shown that the proposed software facilitates the understanding and learning of the basic concepts of transient stability. The teaching experience was evaluated through a survey of several simulations answered by the students enrolled in the last five semesters. On the basis of student responses, the inclusion of the software in regular classes improved learning of the fundamental concepts of the course subject.