PM_Solver_Matlab is an FEM solver developed using MATLAB for synchronous motors, with a focus on surface-mounted permanent magnet motors. Some of the code is based on or modified from Smeklib().