This paper proposes an online learning method for approximating the policy of linear MPC using a Radial Basis Function model. The proposed neural-network-based policy updates its weights online to minimize the MPC cost function. The resulting policy shows behavior similar to that obtained from a QP-solver-based MPC with a shorter computation time. The proposed method is validated through MATLAB simulations of IPMSM current control system.