Matlab and VC mixed programming selection