How to store the solution in to .txt file?

1 view (last 30 days)
Akshay Chadha
Akshay Chadha on 10 Sep 2015
Answered: dpb on 10 Sep 2015
i have a code but i don't know how to create a text file in matlab and save the data in it! thanks in Advance

Answers (1)

dpb
dpb on 10 Sep 2015
There are a "veritable plethora" of ways to create a text file in Matlab...which is most suitable depends on what your data actually looks like and objective/need is.
Start with
doc iofun
and peruse the various choices under the import/export section and see which seems most appropriate to the task. Then go to the documentation for those and there will be examples as well...

Categories

Find more on Data Import and Export in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!