problem savind with diary function

4 views (last 30 days)
Kobi on 16 Jan 2015
Answered: Niels on 16 Jan 2015
something wierd, only the second time that i run the script the function actually save the data in the txt file. what am i doing wrong? the m file is attached to this post
or maybe there is another solution for this, i'm trying to generate text file with the data taken from the workspace something similar to what there is in the script

Accepted Answer

Niels on 16 Jan 2015
If you add
diary on
after line 27, then it should work.

More Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange



Community Treasure Hunt

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

Start Hunting!

Translated by