I have a model that can configure itself into several vehicle configurations (based on a gui menu) and it contains several solver scripts (SIM_SCRIPT_Config1, SIM_SCRIPT_Config2, etc). Depending on the configuration the preferred solver script changes so I'd like that script to be pre-selected when the user opens the simulate dialog box. The dialog box appears to get its value for sim script from system_defaults. Is there any way to update the default simulation script in a model through command language? I can access the current default via the command below:
db_default(.system_defaults,"simulation script")
I've noticed that if I run a simulation with a particular script the default value does update to whichever script was run last, but ideally I'd like to avoid having to run simulations when I'm building the model from command language.