If you have a question about how to play avi using a different codec than the one used to create it, you will need to use some kind of image conversion software ( RAD video tools aka bink and smacker are popular and free), to recompress the movie with the new codec. Possible loss of video quality.
If your question is how to tell MATLAB to create avi using a different codec, enter help avifileto see the full documentation.
, MATLAB , , , 64- MATLAB, . , , 64- , MATLAB. , . - 32- MATLAB , avi. - - avi , MATLAB.
(EDIT: MATLAB VideoWriter MP4 64- )