How can I save variables from multiple runs into a table?

5 views (last 30 days)
Hi all,
I am working on a project that involves changing lots of variables and seeing how the input affects the result and have been trying to figure out a simpler way of comparing each of my runs (input changes) to the outputs. Right now I've been doing the obvious saving the variable values and inputting them into an excel file, but we have so many minor variable changes that it takes forever. I've been toying around with Matlab's save function to see if I can get that to format my results nicely, but no luck so far. Does anyone have any ideas of an easier way to do this? Would I be able to export different runs of the same program into an excel sheet where it would separate the runs into columns or rows?
Thanks in advance! -B
  1 Comment
Jan
Jan on 8 Jul 2013
The question is not clear. "Lots of variables" could mean 32 or 32E6. What is "seeing how the inputs affects the outputs", especially the "seeing"? Why is it "obvious" tha you call Excel, also you have a much more powerful tool like Matlab available already? What are "minor" changes and are there "major" changes also? What does "forever" mean - minutes, hours, days, months? And what exactly takes this time? What is the Problem with Matlab's save function and why don't you use the more direct methods dlmwrite or xlswrite? I cannot imagine what "toying around with Matlab's save function" exactly means, so I connot suggest any improvements. How could we find an "easier" method, if we do not see the currently applied one? What does "separating runs into columns or rows" mean? What are "runs" here?
So, B, I cannot understand any sentence of your question. Please ask much more specific. Please edit the original message and do not hide additions in comments or the answer section. Thanks.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!