Fixed matlab library fix