Good day,
I studied Matlab and C++ programming with classes on early 2013. In addition, I was a tutor for Introduction to Matlab course at TU München. The projects that the students developed were using Matlab classes.
For these reasons, I am sure I can relate the languages and solve your problem.
Let me know of you some quetions about me and tell me the problem more in detail.
Best regards,
Ricardo Castellanos