MATLAB: Location of fprintf on som_train.m (SOM Pak – Kohonen)

kohonensom - pak

Within the Kohonen's SOM-PAK there is a script som_train.m. The output of this script produces a display similar to this:
Training: 3/ 3 s [qerror: 0.789916]
in the command window.
Does anyone know where this text is stored. I wish to edit the display and save it as another file. It does not seem to be in the m file mentioned above.

Best Answer

I have sorted this out.
Many thanks for those who attempted an answer.