View function for neural nets in deployed GUI
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Image Data Workflows 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!