MATLAB: TEXT file to GUI

guitext filetext;textscan

Hello
I need my program to gather the data from the text file (created by diary) and post it on the gui i have specified for it.
I can gather the data with
fid=fopen('dontreadme.txt','r');
dataread=textscan(fid,'%s');
and returning it to the gui is also easy but i couldnt get there since i check the data acquired by this method with a display and it gives a cell array or some numbers when i mess around with it.
I want to have my text file got written on the GUI as I see it in the command window (or in the text file; since there are no inputs into the command line by the user).
Thank you in advance.

Best Answer

Please attach 'dontreadme.txt' (use the ‘paperclip’ icon and complete both steps) and tell us what you want to read from it.