I have GUI windows with several edit text boxes. I store all the inputs in arrays using these lines code:
I want to write all the datas in one .txt file.
For example in my .txt I'd like something like:
x 0 10 15
y 10 20
z 20 25 30 40
I need a .txt file because the datas will be red by an other programm. It is a specific demand from my supervisor that the GUI generate a .txt file
How can I do that ?
I tried to wrtie in every edit text box's callback
fid = fopen('GUIDATA.txt','wt');
fid = fopen('GUIDATA.txt','r');
in the OpeningFcn of my GUI
But it does only save the last input...