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??

回答 (1 件)

Matt Tearle
Matt Tearle 2011 年 2 月 20 日

0 投票

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

カテゴリ

タグ

質問済み:

2011 年 2 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by