I compared various methods to compute the inverse of a symmetric matrix:
You need to pass the Cholesky decomposition to chol2inv:
chol2inv
inv5 = chol2inv(chol(m))
If m is positive definite (which it probably isn't for your not-reproducible input) this should give the same result as the other methods.
m