View function for neural nets in deployed GUI

3 visualizzazioni (ultimi 30 giorni)
yoav.bendor1
yoav.bendor1 il 2 Mag 2019
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

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by