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 Comments

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

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 26 Jul 2019

Edited:

on 27 Jul 2019

Community Treasure Hunt

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

Start Hunting!