Hi Bilgin,
I believe that the YouTube video that you are referring to is, https://www.youtube.com/watch?v=GDJkpv-_rSM as it fits the description of your question.
I have noticed that you have used the R2023b version of MATLAB. The video is explained on R2022b version of MATLAB where the logic of how voltages from lumped cells are displayed, changed from R2023a onwards.
In the YouTube video, the probed variable is 'vCellModel', which represents the model voltage, not the cell voltage. But for versions since R2023a, ‘vCellModel' was replaced with 'vCell,' the cell-level voltage. This is the reason why you are not able to replicate the effect you see in the video
You can refer to the following MATLAB answer which answers a similar query
Thank you.