Hi @fatteneder,
Thanks a lot for introducing me to the concept of “splatting”. I’m not sure I fully grasp the solution you proposed, but after reading about this and experimenting I found out that the following works well for me (so far):
fmt3 = Printf.Format("%8s " * "%14d "^8 * "\n")
for cam = 1:misr_specs.ncameras
Printf.format(out_stream, fmt3, misr_specs.camera_names[cam], stats[cam, 1:8]...)
end
So, if I understand this correctly, adding those three dots after a vector (or array) transforms that vector (or array) into a list of individual elements, though it appears to work only inside a function call.
Thanks again for your input.