View function for neural nets in deployed GUI

3 ビュー (過去 30 日間)
yoav.bendor1
yoav.bendor1 2019 年 5 月 2 日
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 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by