Load trained neural network using gui in matlab
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am having a trained neural network. I want to load all the variables realed to neural network in the workspace by pressing the pushbutton in gui matlab.
The code is as follows:
function pushbutton5_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
trained_net_vars = load('netTransfer1');
handles.neural_net = trained_net_vars.net;
The variables are not getting loaded in the workspace. Can anyone help me here !!
3 comentarios
Geoff Hayes
el 14 de Mzo. de 2019
Why can't the GUI set the inputSize and the netTransfer1 variables and hold on to those variables (as fields within the handles structure) within the GUI "workspace"?
Respuestas (0)
Ver también
Categorías
Más información sobre Pattern Recognition and Classification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!