View function for neural nets in deployed GUI
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi everyone,
I made a GUI using guide in MATLAB Version: 9.0.0.341360 (R2016a)
The GUI allows a user to establish a NN, train it, and use it for his applications
I added a button for the View feature using the View(net) function, so that the user can examine the network structure
When I run the GUI from within guide using a Matlab licenced computer, the function works and the network is displayed properly with no errors.
However, when I deploy the app using the complier, this function does nothing
Any help?
I know that some features like the nntraintool cannot be deplyoed using the app compiler, so I had to bypass that, but couldn't find out if that's the case. Does anyone has any idea on how can the network structure be displayed?
this is the code I use:
function pushbutton46_Callback(hObject, eventdata, handles)
if isfield(handles, 'net')
net=handles.net;
message='displaying network structure';
% View the Network
view(net);
else
msgbox('no network found - train or load network first', 'Error', 'error')
message='no network found';
end
댓글 수: 0
답변 (0개)
참고 항목
카테고리
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!