Matlab Dynamic Exception Type Class