Batch mode ??

MATLAB interface, C API, using plugins, other interfaces

Batch mode ??

Postby a093130 » Wed Jan 09, 2019 6:23 am

I was excited to see a command line option for batch mode in R2018a, but the reference guide is rather thin on exactly how you use this api. Any clues?
So using a python script, I generated multiple .script files with slight variations in resources, and listed their paths in a file "AlfanoXfer__RunList_J009_0537.25.batch". Contents of this file look like so:
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_20Mar2020_28.5_J009_053701.script
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_20Mar2020_51.2_J009_053701.script
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_20Jun2020_28.5_J009_053701.script
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_20Jun2020_51.2_J009_053701.script
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_22Sep2020_28.5_J009_053701.script
C:/Users/chelm/Documents/WorkingFolder/ProjectRoot/GMAT/Batch/AlfanoXfer_16HET8060W_2000.0kg_22Sep2020_51.2_J009_053701.script
... and so-on.
Then tried issuing the command line:
>GMAT.exe --batch AlfanoXfer__RunList_J009_0537.25.batch

No dice, the GMAT.log says this:
*** Cannot find the script file 'C:\Users\chelm\--batch'
The option "--batch" is not valid.
a093130
 
Posts: 2
Joined: Wed Jan 09, 2019 6:06 am

Return to External Interfaces and Plugins

Who is online

Users browsing this forum: No registered users and 1 guest

cron