I have a model and want to export the run parameters to a log file. The idea is to get the following example into a decent text export:
a = 1;
b = 2;
c = 3;
p = Style[Grid[{
{"Parameter a ", a},
{"Parameter b ", b},
{"Parameter c ", c}
}]
, Bold, Blue]
Export["_log.txt", p];
The problem here is, that the output includes all the Grid commands, which I obviously don't want. Just a somewhat neatly arranged text file.
More precisely: the above code gives the following log file>
The log file I'd like to have should look like>
Grid
andExport
to the"Table"
format. $\endgroup$