View function for neural nets in deployed GUI
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!