Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[Matlab] How to save the obtained values.

  1. Jun 13, 2008 #1
    Hi, all.

    I have performed some simulations in where random variables are used. Through the simulations, I got the final results as well as some figures. Here, I have a question. The obtained results and figures are based on the calculation with randomly created values. If I perform again with the same code, I'll get different results and figures. Thus, I'd like to save the current random values. How to save these ones?

    I think that other folks might have similar experiences with me.

    Thanks in advance.
  2. jcsd
  3. Jun 14, 2008 #2

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    write them out to a file and save them..
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook