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.
making ANN to gui
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!