added missing file mex_view.cpp