refs #6845 Fix matlab interface