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 Kommentare

Guillaume
Guillaume am 26 Jul. 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 am 27 Jul. 2019
Bearbeitet: Yuvraj Singh Grewal am 27 Jul. 2019
Thank you Guillaume. Your response is much appreciated.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by