Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

export table to excell

Status
Not open for further replies.

everttt

Chemical
Joined
Jan 16, 2006
Messages
2
Location
NL
hello,

I'm pretty unexperienced with matlab, so i hope my question is an easy one for you guys...

Using matlab i've made a chemical reactor model. For this model i used a standard ODE function. the output of the current model is a graph, which displays the calculated concentrations as a function of time. what i would like now is to access the generated data in table format. In the workspace only the time variable is shown, how can i view the calculated (concentration) parameters?

regards,

Evert
 
Hi,

I arrange input and output vectors as columns in a new matrix and save it in ASCII.

This *.txt can be read by excell and other programs.

An example:

Code:
M_MS_O = [Q_o' MS_o';];  
save M_MSpin_o.txt M_MS_O -ascii
 
Thanks for your quick reply,

i will see if i can figure it out now

Evert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top