Fuzzy logic controllers have gained widespread use by engineers and practitioners due to their design simplicity, closeness to human reasoning and suitability for control applications. Fuzzy logic controlled studies are usually performed in MATLAB, or sometimes in PSCAD/EMTDC (Power Systems Computer Aided Design/Electromagnetic Transient including d.c.) with MATLAB interfacing. The PSCAD/EMTDC software does not include a component for a fuzzy logic controller. This paper is, to the best of our knowledge, the first work that designs and implements a fuzzy logic controller in PSCAD/EMTDC by using FORTRAN codes. In this way, several drawbacks which arise from the interfacing between MATLAB and PSCAD/EMTDC are eliminated. The simulation section of this paper consists of a case study based on a fuzzy logic-controlled PWM inverter in which the performance of the developed fuzzy logic controller is evaluated.