Undefined function or variable 'network'

조회 수: 11 (최근 30일)
Dieuwke
Dieuwke 2012년 10월 7일
답변: David Herrera 2016년 5월 17일
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일
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일
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

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by