Question: can matlab read text files?
Answer: Import Text Files. Text files often contain a mix of numeric and text data as well as variable and row names, which is best represented in MATLAB® as a table. You can import tabular data from text files into a table using the Import Tool or the readtable function.