regenerate matlab and c++ docs