MATLAB: How to display string of matrix in one edit text displayedit textgui I need display matrix which can contains Any number of vector in one edit text, how I can display it simply? Thanks. Best Answer a={'somename';'diffname';'something'};set(handles.EditBox, 'Max', 2, 'String', a); Related SolutionsMATLAB: How to display a matrix in a static text text_to_display = cellstr(num2str(Your4x4Array));set(handles.edit1, 'String', text_to_display, 'Max', 2, 'FontName', 'courier')The Max must be greater than 1 in order to display multiple lines of text.The FontName should be set to one of the non-proportional fonts or else the numbers will not line up properly. MATLAB: How to display polar form in GUI edit text a = 4 - 2i;s = sprintf('(%g %g)', abs(a), angle(a) * 180 / pi);set(handles.edit_polar, 'string', s); Related QuestionDisplay text string if eigenvalue is complexHow do you remove certain textWrite a matrix to a text fileHow to display a lot of text on screen
Best Answer