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 个评论

I'm not sure any of the helpers here are familiar enough with Amesim (I've never used its matlab interface).
Thank you Guillaume. Your response is much appreciated.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by