I have a txt file, and the content of the file is rows of numbers, each row have 5 float number in it, with comma seperate between each number. example:
1.1 , 12 , 1
try with using importdata function
importdata
A = importdata(`filename.txt`);
It will solve your question.
EDIT
Alternative 1)
A = dlmread('test_so.txt',',');