Method for controlling an electric machine of a vehicle, said electric machine including a wound stator and a wound rotor, said method including steps of: - receiving a torque setpoint and an engine speed, - receiving a temperature value of the rotor (Tr) and a temperature value of the stator (Ts), - selecting a map on the basis of said temperature values of the rotor and of the stator (Tr, Ts) from among: - a first map (CART1) of currents at the stator and at the rotor minimizing the electrical losses in said machine for a given torque and a given engine speed, - a second map (CART2) of currents at the stator and at the rotor minimizing the electrical losses in said rotor at the expense of an increase in the electrical losses in said stator for a given torque and a given engine speed, - and a third map (CART3) of currents at the stator and at the rotor minimizing the electrical losses in said stator at the expense of an increase in the electrical losses in said rotor for a given torque and a given engine speed, - supplying power to the electric machine by means of currents (if, Iu, Iv, Iw) of the rotor and of the stator that are derived from the selected map and correspond to said received torque setpoint and to said received engine speed, said receiving steps (E1, E2) and power-supplying step being repeated continuously, said method further including a delaying step which, when a step of supplying power to the electric machine uses one of said maps and a new selecting step leads to the selection of another one of said maps, delays the use of said other one of said maps for supplying power to said electric machine for as long as a torque setpoint or a measured torque value remains above a predetermined torque threshold, characterized in that it includes a step of disabling said delaying step beyond a predetermined period (ds) when said other one of said maps is said first map (CART1). - receiving a torque setpoint and an engine speed, - receiving a temperature value of the rotor (Tr) and a temperature value of the stator (Ts), - selecting a map on the basis of said temperature values of the rotor and of the stator (Tr, Ts) from among: - a first map (CART1) of currents at the stator and at the rotor minimizing the electrical losses in said machine for a given torque and a given engine speed, - a second map (CART2) of currents at the stator and at the rotor minimizing the electrical losses in said rotor at the expense of an increase in the electrical losses in said stator for a given torque and a given engine speed, - and a third map (CART3) of currents at the stator and at the rotor minimizing the electrical losses in said stator at the expense of an increase in the electrical losses in said rotor for a given torque and a given engine speed, - a first map (CART1) of currents at the stator and at the rotor minimizing the electrical losses in said machine for a given torque and a given engine speed, - a second map (CART2) of currents at the stator and at the rotor minimizing the electrical losses in said rotor at the expense of an increase in the electrical losses in said stator for a given torque and a given engine speed, - and a third map (CART3) of currents at the stator and at the rotor minimizing the electrical losses in said stator at the expense of an increase in the electrical losses in said rotor for a given torque and a given engine speed, - supplying power to the electric machine by means of currents (if, Iu, Iv, Iw) of the rotor and of the stator that are derived from the selected map and correspond to said received torque setpoint and to said received engine speed,