Forums > MaxMSP

writing txt file while acquiring data

March 9, 2011 | 5:54 pm

Hello everyone,

I am using Max to get back data from sensors, and I would like to record these datas "in live" on a txt file, while using the sensors (the aim would be to use these datas with matlab after the record). But I found nothing to do that, just something to read the txt (coll I think), but not to write it.

Is there a solution?


March 9, 2011 | 7:53 pm

maybe the [text] object is useful.


March 10, 2011 | 8:58 am

That is perfect!…Except that I can only open it in Max, how can I read it with, let us say, wordpad or something like that?

March 10, 2011 | 10:16 am

Max creates a normal textfile. So you just can open it in any texteditor. If you don’t use the .txt ending (i assume you work on a windows machine, as you mentioned wordpad) you have to choose "Open with…" and then select the programm form the context menu (right-click on file)

March 10, 2011 | 10:26 am

Ok thanks, I just forgot to specify the extention when creating the file.

Thank you very much!


Viewing 5 posts - 1 through 5 (of 5 total)