Vc and matlab mixed programming example