MATLAB: In GUI, how I can assign any matrix to listbox as a matrix form listbox for example, a=[1 2 3;4 5 6;7 8 9] is a matrix. I wanna put this matrix into the listbox as a 3×3 matrix form Best Answer a=[1 2 3;4 5 6;7 8 9]set(handles.listbox1,'String',num2str(a)) Related SolutionsMATLAB: How to output the result as a matrix in GUI, like any nxn matrix?? You can use uitable object MATLAB: Matrix change affect other matrix B=[ 4 5 6 6 3 8 4 8 7 3 5 3]idx1=B==7;idx2=B==3;B(idx1)=3;B(idx2)=7; Related QuestionIncorrect Matlab formGUI, Timer/CounterHow to segment form
Best Answer