필터 지우기
필터 지우기

making ANN to gui

조회 수: 3 (최근 30일)
Chang Jae Kim
Chang Jae Kim 2013년 7월 16일
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.

답변 (1개)

Image Analyst
Image Analyst 2013년 7월 16일
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.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by