Copying code to Mat in Matlab to generate Chinese garbled recovery method