I have a Matlab program which generates a set of very large structs as its output. The structs are sufficiently large that I would like to be able to print the text repr
The diary function is what you are looking for.