Undefined function or variable 'network'

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
Matt J 2012 年 10 月 7 日
Well, is the variable network defined? If not, the obvious solution is to define it!

サインインしてコメントする。

回答 (2 件)

David Herrera
David Herrera 2016 年 5 月 17 日

2 投票

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
Sean de Wolski
Sean de Wolski 2012 年 10 月 7 日
編集済み: Sean de Wolski 2012 年 10 月 7 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

質問済み:

2012 年 10 月 7 日

回答済み:

2016 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by