added OOP keywords for Matlab (#3579842)

added OOP keywords for Matlab (it does not close #3579842, but fix it partially)