Sorry for submitting two requests, but I wanted to
include a copy of matlab.el I hacked to add support for
functions inside classes. It was as simple as adding
"class" "methods" and "properties" as keywords, and
allowing "function" to increase the indent level. I
hope this helps.