This paper proposes a modification in the maximum power point tracking (MPPT) by using model predictive control (MPC). The modification scheme of the MPPT control is based on the perturb and observe algorithm (P&O). This modified control is implemented on the dc-dc multilevel boost converter (MLBC) to increase the response of the controller to extract the maximum power from the photovoltaic (PV) module and to boost a small dc voltage of it. The total system consisting of a PV model, a MLBC and the modified MPPT has been analyzed and then simulated with changing the solar radiation and the temperature. The proposed control scheme is implemented under program MATLAB/SIMULINK and the obtained results are validated with real time simulation using dSPACE 1103 ControlDesk. The real time simulation results have been provided for principle validation.