i'm sorry if I didn't make sense.
The problem that I was facing was that the contents of text file (generated by MATLAB) that I was trying to read from SD card had numeric data. whenever I read the data from SD card It got converted into ASCII in read buffer, whereas I wanted decimal values in the buffer so that I can store them into memory. but if I somehow converted my textfile contents into Unicode (the format that xil_write generates in output file), PS would read them perfectly as decimal numbers. I was unable to convert my file contents into that format since data were separated by commas and the data was very big.
I found the solution to my problem, I simply have MATLAB to convert the decimal number in array to Unicode and then output them to a txt file without including commas b/w values. using following command lines
Thank you for your concern.