Undefined function or variable 'network'
17 次查看(过去 30 天)
显示 更早的评论
When I try to run one of the demo's or, just one of the functions (feedforwardnet(10)), I get the following error:
Undefined function or variable 'network'
??? Undefined function or variable 'network'.
Error in ==> feedforwardnet>create_network at 99 net = network;
Error in ==> feedforwardnet at 67 net = create_network(param);
How do I solve this?
1 个评论
Matt J
2012-10-7
Well, is the variable network defined? If not, the obvious solution is to define it!
回答(2 个)
David Herrera
2016-5-17
I had this same error message when using nntool. Check if you have the toolbox license. >license('checkout','nntool'); License checkout failed.
If you see this, you need to download the toolbox
0 个评论
Sean de Wolski
2012-10-7
编辑:Sean de Wolski
2012-10-7
Try rehashing your toolbox path in case something got corrupted:
rehash toolboxcache
The class network should exist on a path similar to this:
which -all network
C:\Program Files\MATLAB\R2012b\toolbox\nnet\nnet\@network\network.m % network constructor
0 个评论
另请参阅
类别
在 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!