Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5801

Cosmetic output error Write-ing strings, arrays, and variables simultaneously to a report file

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: R2016a, R2017a, R2018A
    • Fix Version/s: R2018A
    • Component/s: Write Command
    • Labels:

      Description

      Writing arrays, strings, and variables to a report file interface in a single Write command results in interpolation of the output strings as shown below:

      1e+70 0 0 0 0 0    0.0001 0 0 0 0 0    Now is the time for all good men to come to the aid of their country.This is the way the world ends. Not with a bang but a whimper.3.14159                   6.283185                  
                                                                                                                                        0 1e+70 0 0 0 0    0 0.0001 0 0 0 0                                                                                                            
                                                                                                                                        0 0 1e+70 0 0 0    0 0 0.0001 0 0 0                                                                                                            
                                                                                                                                        0 0 0 1e+70 0 0    0 0 0 1e-05 0 0                                                                                                             
                                                                                                                                        0 0 0 0 1e+70 0    0 0 0 0 1e-06 0                                                                                                             
                                                                                                                                        0 0 0 0 0 1e+70    0 0 0 0 0 1e-07                                                                                                             
      

      This issue affects Concise and Verbose mode. See attached script.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dcooley Steve Cooley added a comment - - edited

            work around is to put content on similar Write lines.

            Future fix might mandate that arrays are written out completely before going on to the next item.

            Show
            dcooley Steve Cooley added a comment - - edited work around is to put content on similar Write lines. Future fix might mandate that arrays are written out completely before going on to the next item.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: