is there any way to read a csv file into a matrix, so every square in the file will be a cell in the matrix?
There are many ways. Starting with a byte by byte reader. It depends on your csv file format (with/without header, line endings, " or '). I've written my own class.
A good reader to start with:
http://www.stellman-greene.com/CSVReader/