This chapter discusses modeling and simulating multiphase electrical machines in Matlab/Simulink. It begins with an overview of different multiphase winding configurations. It then introduces the vector space decomposition (VSD) method for unified modeling of various multiphase schemes. The VSD approach involves a geometric transformation to map actual windings to a conventional model, followed by a decoupling transformation. This allows developing the VSD theory for the conventional model independently of actual machine topology. Examples are provided of mapping different multiphase arrangements to the conventional model to enable unified simulation in Matlab/Simulink.