neural network error Undefined function or variable 'network'?
显示 更早的评论
Hi all, There is an error while I used neural network toolbox. I wrote a script, but when I start running it I getting
Undefined function or variable 'network'.
And this what I do
clear
load('Metdata','METData')
training_set=METData(1:5088,:);%specify training set
shuffling_inputs=training_set(randperm(5088),1:4);%randomize the input matrix
load('SLR');
target_set=SLR(1:5088,3);%sea level residual targrt set (1-7)
testing_set=METData(5089:7296,:);%specify testing set (1-7)
testing_target_set=SLR(5089:7296,3);%specify testing set (8-11)
[pn,ps]=mapminmax(training_set');%Normalize the input and output -1,1
[tn,ts]=mapminmax(target_set');
net = feedforwardnet(10);
how can I solve this problem?
thank you all.
采纳的回答
更多回答(1 个)
dulaj sanjaya
2017-7-17
0 个投票
I got the same error. I solved it.The reason is you haven't verified license. if you are using linux try to install as root user.
sudo ./install
After successful installation you will be asked to verify license.
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!