function pushbutton1_Callback(hObject, eventdata, handles)outfile = fopen('E:\\out.txt','a');inputstr = get(handles.txtbox_input,'String');fprintf(outfile,'%c %s \n',13,inputstr);fclose(outfile);
Each time I press the push button, I want it to write on a separate line. But It just don't do that. Bot \n and printing the ascii character 13 don't work.
Do you know what I should do?
Best Answer