The paper describes the digital twin of a Li-ion battery cell based on the MATLAB/Simulink generic model. The digital twin is based on measured data for constant current/constant voltage charging and discharging cycles with State of Health (SoH) up to 79%, also including fast charging. Mathematical equations used for the digital twin are obtained by 3D data fitting of measured SoH, battery capacity, and battery cell current. The input to the proposed digital twin is only the measured battery cell current, and its output includes State of Charge (SoC), SoH, and battery cell voltage. The designed digital twin is tested and compared with MATLAB/Simulink generic model and battery cell measurements for constant discharging current and dynamically generated discharging current profile. The results show significant improvement in the generic MATLAB/Simulink model.