How to save the data set from the ode function files to the workspace

I don't know how to save the variables of the function file to the workspace.When i used global command it only stores the last data, not the whole data string. could you pleas suggest me how to save it??

Answers (1)

You should be able to use save('filename') within the function: save doc
Is this not what you're trying to do?

Tags

Asked:

on 20 Feb 2011

Community Treasure Hunt

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

Start Hunting!