ssa
1function Name = NameVideoFile(VideoFileName)
2Name = replace(VideoFileName, '.mp4', '');
3Name = replace(Name, '.avi', '');
4Name = replace(Name, '.mat', '');
5Name = replace(Name, '_RGB', '');
6Name = replace(Name, '.txt', '');
7Name = replace(Name, '_pw', '');
8Name = replace(Name, '_but', '');
9end