I was wondering which tool to use and how?
Try the read.table function in R.
And how to import this matrix output by DEseq or EdgeR?
I'm not sure to understand, but if you want to use FPKM data in DEseq or EdgeR, this is a bad idea. Those tools require raw counts as input.