save Network and connect Network (nntool) with GUI
7 ビュー (過去 30 日間)
古いコメントを表示
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..
0 件のコメント
採用された回答
Chandra Kurniawan
2012 年 1 月 11 日
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 件のコメント
その他の回答 (1 件)
miftahurrahma rosyda
2012 年 4 月 16 日
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 件のコメント
keirth kilat
2018 年 5 月 5 日
hello have you find any solution on this? because i have the same problem as yours.
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!