필터 지우기
필터 지우기

In Matlab GUI, Is it possible to show values of output matrix in edit box?

조회 수: 1 (최근 30일)
Prashant Funde
Prashant Funde 2015년 5월 18일
댓글: Ingrid 2015년 5월 18일
Mat1=[CM11 CM12 CM13; CM21 CM22 CM23 ]; Mat2=[DM1 : DM2 ; DM3]; Mat3=Mat1*Mat2
to display matrix value i am thinking to use edit box from GUI.
set(handles.edit20,'String',num2str(Mat3));
tell me suggestions to do it, if it is possible.
  댓글 수: 1
Ingrid
Ingrid 2015년 5월 18일
the easiest way to show the ouput of a matrix is to set it as data in an uitable
set(handles.uitable,'Data',Mat3);
trying to set a matrix in an edit text box seems very contra-intuitive

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by