Reputation: 283
I have made an program that can display many outputs in same textbox in matlab. The main program do looping and the GUI catch the output and display the outputs in same textbox. But the problem is that the output is displayed in new line. Iwan to display the output just in one line.. How to do it? Here is my Gcode to display the output in the GUI.
letterr = ProcessOutput;
set(handles.text4,'String',letterr);
Upvotes: 0
Views: 299
Reputation: 1832
you can use
set(handles.text4,'String',strjoin(letterr));
depending on the version of matlab you are using, this function is implemented or not. If not, you can get it from here:
Upvotes: 1