hello guys,
just wondering if anyone knows how to output the contents of a .dat or .txt file into a text box in a matlab gui.
i've used the following to create a .dat or .txt file.
fiw = fopen('watermarks.txt','wt');
fprintf(fiw,'\n watermark # %d = %s position = %d',kk,str,POSITION(kk));
i'm currently outputing to the command window using :
disp(sprintf(' watermark # %d = %s position = %d',kk,str,POSITION(kk)));
Thanks in advance
Ron
just wondering if anyone knows how to output the contents of a .dat or .txt file into a text box in a matlab gui.
i've used the following to create a .dat or .txt file.
fiw = fopen('watermarks.txt','wt');
fprintf(fiw,'\n watermark # %d = %s position = %d',kk,str,POSITION(kk));
i'm currently outputing to the command window using :
disp(sprintf(' watermark # %d = %s position = %d',kk,str,POSITION(kk)));
Thanks in advance
Ron