Question: How to load a host of variants created through scripts to a sbproj file so that we can simulate and visualize them through the simbiology GUI. Description : In a typical QSP workflow, we generate virtual patients by perturbing a set of parameters. These virtual patients are generated as variants by using "addvariant". We end up with an array of variants saved as "variants.mat". This mat contains the list of ~3000 variants. These variants are now to be simulated with different dose objects. This could be done with scripts but it would be ideal if we import these variants into the sbproj file and simulate via simbiology GUI for both purpose of troubleshooting and dosing. Is there a way to do this? Simulating and visualizing variants created from scripts Hi Prakash, the method |addvariant| adds variants to a model. It sounds like you load first a model with |sbioloadproject|, add variants to the loaded model in a script and now would like to save the variants into the sbproj file. Is this correct? If so, I would recommend the following instead: # open the sbproj file in the SimBiology App. # in the 'Model' Tab, choose _Export_ -> _Export Model to Workspace_' # leave the SimBiology App open and go to your script # now add the variants to the model exported in the workspace using the method |addvariant| # you should now see them in the list of variants in the SimBiology App. # you can now save the SimBiology project from the App to keep your project with all its tasks, its diagram, etc along with the new variants. I hope this helps. Hi Prakash, When you - export a model from SimBiolog app to workspace (as opposed to using sbioloadproject) - and keep the SimBiology app and the project running, changes you make to the exported model (let's say m1) via command-line/scripts will also be reflected on the model that's running on the project/SimBiology app. For example, you can use addvariant on m1 and the variant will be added to the simbiology project. Let me know if this helps. Fulden Thanks Fulden. This is exactly what we are looking for. Correct Jeremy. Thanks for such a quick response. variants