However when I import it like this, it is not read as if it was entered as:
inputseq2s = {{A,B,C},{D,E,D},{G,F,A}}
Extra commas are added to the input and it will not work in my algorithm. I have also tried importing it as “Mat” but that also did not work. How can I make this work properly?
I have uploaded a small sample file. My algorithm does not work when the file is imported with ‘List’, ‘Table’, ‘Data’, etc but it does work if I copy the contents of the file and paste them into Mathematica.
Rohit, thank you for your help. Unfortunately this did not solve the problem that I was having. Ultimately inputseq2s = Import["C:/Users/jdd0758/Desktop/WaveformsOnly.txt", "String"]; ended up solving my problem.