In order to improve the driving performance and the stability of electric vehicles (EVs), a new multimachine robust control, which realizes the acceleration slip regulation (ASR) and antilock braking system (ABS) functions, based on nonlinear model predictive (NMP) direct torque control (DTC), is proposed for four permanent magnet synchronous in-wheel motors. The in-wheel motor provides more possibilities of wheel control. One of its advantages is that it has low response time and almost instantaneous torque generation. Moreover, it can be independently controlled, enhancing the limits of vehicular control. For an EV equipped with four in-wheel electric motors, an advanced control may be envisaged. Taking advantage of the fast and accurate torque of in-wheel electric motors which is directly transmitted to the wheels, a new approach for longitudinal control realized by ASR and ABS is presented in this paper. In order to achieve a high-performance torque control for EVs, the NMP-DTC strategy is proposed. It uses the fuzzy logic control technique that determines online the accurate values of the weighting factors and generates the optimal switching states that optimize the EV drives' decision. The simulation results built in Matlab/Simulink indicate that the EV can achieve high-performance vehicle longitudinal stability control.