How do I use 'pchip' interpolation of Matlab in Julia code?

In Matlab, there is ‘pchip’ interpolation method.
How do I can use ‘pchip’ interpolation by Julia code.
I tried some guide such as ‘‘GitHub - gerlero/PCHIPInterpolation.jl: Monotonic cubic interpolation in Julia’’ found by searching google, it was not helpful. Following those suggestions just gave me continuous errors.

You’ll have to be a bit more precise on the errors. I just installed the package and tried the example from the readme on Julia 1.10.3 and got:

julia> using PCHIPInterpolation

julia> xs = [0.0,  1.2,  2.0,  5.0, 10.0, 11.0];

julia> ys = [2.0,  2.1,  1.0,  0.0,  0.0,  3.0];

julia> itp = Interpolator(xs, ys)
Interpolator{Vector{Float64}, Vector{Float64}, Vector{Float64}}([0.0, 1.2, 2.0, 5.0, 10.0, 11.0], [2.0, 2.1, 1.0, 0.0, 0.0, 3.0], [0.2500000000000002, 0.0, -0.6081474296799224, 0.0, 0.0, 3.5])

julia> ys = itp.(xs) # At multiple points
6-element Vector{Float64}:
 2.0
 2.1
 1.0
 0.0
 0.0
 3.0

which seems fine to me?