Question: Import string and numerical data from txt.file

Good morning everbody,

I am currently trying to get string and numerical datas from a txt.file but I don't get how to do this.
I have done this in matlab but I would like to make it in maple.
I have read other post about the subject and try tried this command:

 fd := fopen(dataFile,READ,TEXT):
    theData:=readdata(fd,string, 3): # 3 columns
  fclose(fd):

  A:=convert(theData,Array);

but it didn't help me.
I put my txt.file in attachment and if someone could tell me useful commands, I would be thankful.

Best,

ssteve

Download test.txt


Please Wait...