save Network and connect Network (nntool) with GUI

6 visualizaciones (últimos 30 días)
randy
randy el 11 de En. de 2012
Comentada: keirth kilat el 5 de Mayo de 2018
ok...i have a question...
i've created a network, named network1 from nntool... now, how do i connect the network with my GUI (made by guide)... i mean, i've one button in my GUI, when i push the button i want to train the network. any answer will help me much... i will appreciate it.. thank you...
r4ndieL..

Respuesta aceptada

Chandra Kurniawan
Chandra Kurniawan el 11 de En. de 2012
Hi,
First, you need to save your network into MAT file.
Then place it in the same folder with your GUI.
In the pushbutton callback, you should call it by
load anyfilename.mat
Then, you can use it now. Use train command to train your network.
Eq :
output = train(net,P,T);
I hope this will helps you.
  2 comentarios
randy
randy el 12 de En. de 2012
thnkyou very much mas... udah ngerti saya... so, saving the Network1 to net1.mat, then load and train by callback button....
thankss..
r4ndieL..
Chandra Kurniawan
Chandra Kurniawan el 12 de En. de 2012
Wow, nice to meet indonesian people :D

Iniciar sesión para comentar.

Más respuestas (1)

miftahurrahma rosyda
miftahurrahma rosyda el 16 de Abr. de 2012
i've saved my network n load net in my gui than i code in my gui p is a data from gui object handle
a=sim(net,p)
but appear error message "Inputs are incorrectly sized for network. Matrix must have 0 rows."
when i tried it directly in command window, it successed, so why it happened when i use net in my gui?
thx b4 :D
  1 comentario
keirth kilat
keirth kilat el 5 de Mayo de 2018
hello have you find any solution on this? because i have the same problem as yours.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox 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!

Translated by