Amesim-Matlab interface

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 Commenti

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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by