How to store the solution in to .txt file?

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)

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

Products

Tags

Asked:

on 10 Sep 2015

Answered:

dpb
on 10 Sep 2015

Community Treasure Hunt

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

Start Hunting!