How to display the results of the system to the matlab gui that was made?

조회 수: 5(최근 30일)
How to display the results of the system to the matlab gui that was made?, why the GUI can't display the result? Instead it displays in Command Window wich a place for dispaly debug?
with the script I use yet also displays the results of the system to the matlab gui.
function Pengujian_Callback(hObject, eventdata, handles)
% hObject handle to Pengujian (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
U = load ('datauji.dat')
X = U (1: 30, 1: 6);
Y = U (1: 30, 6)
ket = get(handles.input,'value');
DATA2 = [X];
n2 = size(DATA2,2)
Input_Uji = DATA2(1: 30, 1: n2-1)'
Target_Uji = DATA2(1: 30, n2)'
load data_latih
load kolom_latih
load latih
load latih_120_80_2_Lr04_Mc07_traingdx.mat
%Evaluasi Output Jaringan
handles.edtmse.String = num2str(E3);
handles.edtm.String = num2str(m1);
handles.edtb.String = num2str(b1);
handles.edtr.String = num2str(r1);
k=[1: size(Unormal,2)];
  댓글 수: 20
Walter Roberson
Walter Roberson 2017년 9월 1일
Okay, I have managed to install R14 with NN. It turns out that I need to know what values you are entering for each of the input boxes.

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


Stalin Samuel
Stalin Samuel 2017년 9월 1일
set(handles.edtm, 'String', num2str(E3));
  댓글 수: 4
Stephen23 2017년 9월 1일
syarifah cambami' "Answer" moved here:
Dear Stalin Samuel
Thank you have answered my question, Sir. I've tried it but still no change. As shown below :

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


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by