Solved problem with method dim at binding of matlab reader