Filter löschen
Filter löschen

making ANN to gui

3 Ansichten (letzte 30 Tage)
Chang Jae Kim
Chang Jae Kim am 16 Jul. 2013
I made GUI for ANN. My GUI uses the mat file saved the learning result of ANN.
It works very well in GUI. however, when I make GUI into console application, It doesn't work.
this section is the only error
load('CBM_DC.mat'); % in here, my exe file can't read mat file
p1=str2double(get(handles.depth,'String'));
p2=str2double(get(handles.perm,'String'));
p3=str2double(get(handles.thick,'String'));
p4=str2double(get(handles.rank,'String'));
p5=str2double(get(handles.content,'String'));
p6=str2double(get(handles.strength,'String'));
p7=str2double(get(handles.extent,'String'));
p8=str2double(get(handles.dip,'String'));
p9=str2double(get(handles.num,'String'));
input=[p1 p2 p3 p4 p5 p6 p7 p8 p9];
[i1,is]=removeconstantrows(input); % I'm not sure but, this may be a problem
[i2,is]=mapminmax(i1); % I'm not sure but, this may be a problem
result=sim(net,i2'); % in here, my exe file can't works command 'sim'
so how can I solve this problem? please help me make console application. thank you.

Antworten (1)

Image Analyst
Image Analyst am 16 Jul. 2013
Specify the full path - including the folder - because your exe doesn't know where it is. Your exe is not where you think it is (it's a long explanation) so if you put your mat file in the same folder as your exe through some other way than the -a option then it probably won't find it.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by