I am reading an input file and am outputting it in a report format, using the fprintf function . I have aligned all of the columns under the column headings with the exception of the last column.
I am having problems aligning the last column. When I enter '%-3s', for example, the value does not move. How is this done?
See the attachment for the expected output.