adding doc for matlab