My Greetings I have graduated from Tarbiat modares University in the field of Power Systems. Nowadays, I am working on the tuning of PID controller for LFC with the aid of Heuristics methods. I have some questions. Therefore, your help would be truly appreciated. 1-How can I link PSCAD with the MATLAB software? I have installed the Matlab 32 bit 2015 but the pscad still doesn't recognize it. 2-I have simulated a power system in PSCAD software and I do have the heuristic codes but I don't know how can I connect the MATLAB code for tuning the PID controllers. Thanks for your consideration in advance Kind Regards Mohsen