It seems to do what it says. You'll need to download the other file:
I was hoping for something that would work recursively for structs. EG:
>> s1 = struct('one',1,'two','two');
>> s2 = struct('field1',1.1,'field2','a string!');
>> s.s1 = s1;
>> s.s2 = s2;
>> struct2File( s, 'C:/test.txt')
It doesn't do what I was hoping it would, but it still works for simple structs.