Hi, i am setting up a script for amesim batch runs in matlab using the amerunbatch command. The run finishes smoothly. I get the message 'Simulations completed'. But i don't know how to extract the results for each case. For example i am setting a batch for engine rpmand i want the injected flow rate data for each run to plot. Thanks in advance. here is the example:
number = input('how many sets?\n');
btch = struct('type','set','param',struct('type',input('give the parameter type','s'),'name',input('give the parameter name','s'),'set',[]));
for i=1:number
btch.param.set{1,i}=input('Give the parameter value','s');
end
ameputbatch('PA6_2014_08_19_myFluidLaxWendT20_v2_3_FMED',btch);
amepreparebatchrun('PA6_2014_08_19_myFluidLaxWendT20_v2_3_FMED');
amerunbatch('PA6_2014_08_19_myFluidLaxWendT20_v2_3_FMED');

2 commentaires

Guillaume
Guillaume le 26 Juil 2019
I'm not sure any of the helpers here are familiar enough with Amesim (I've never used its matlab interface).
Yuvraj Singh Grewal
Yuvraj Singh Grewal le 27 Juil 2019
Modifié(e) : Yuvraj Singh Grewal le 27 Juil 2019
Thank you Guillaume. Your response is much appreciated.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Produits

Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by