Ansys can create all the data needed to make the plot shown in matlab by implementing 24 equal load steps and exporting the data from each load step. It would be a bit tedious to do that manually. If you want to learn to code, I expect you can automate the process of extracting the data with a script.

The matlab example shows a force that is tangent to the tip, which would be vertical at the start of the simulation.  You are showing a horizontal force. Are you trying to get the matlab plot with a horizontal force? That is not the same problem.