try to add gencode for classdef, still have bug