In this paper, we first obtain an event-based sampled discrete-time linear system to represent a port-fuel-injection process based on wall-wetting dynamics, and formulate it as a linear parameter varying (LPV) system. The system parameters used in the engine fuel system model are engine speed, temperature, and load. These system parameters can be measured in real-time through physical or virtual sensors. A gain-scheduling controller for the obtained LPV system is then designed based on the numerically efficient convex optimization or linear matrix inequality (LMI) technique. The simulation results show the effectiveness of the proposed scheme.