From: Liam Blackmore on
I am currently modelling and hoping to complete an optimization on a Nitrogen Inerting System for an aircraft fuel tank.

I have been able to call up my simulink model and run it through using an m-file, but i have become stuck when i trying to store my data in a usable format. Can the m-file save the data directly in Excel?

Thanks for any help. Liam
From: Arnaud Miege on
"Liam Blackmore" <liamjblackmore(a)hotmail.co.uk> wrote in message <hag0de$ss2$1(a)fred.mathworks.com>...
> I am currently modelling and hoping to complete an optimization on a Nitrogen Inerting System for an aircraft fuel tank.
>
> I have been able to call up my simulink model and run it through using an m-file, but i have become stuck when i trying to store my data in a usable format. Can the m-file save the data directly in Excel?
>
> Thanks for any help. Liam

Look at the xlswrite function:
>> doc xlswrite

HTH

Arnaud