neural network error Undefined function or variable 'network'?
Show older comments
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.
Accepted Answer
More Answers (1)
dulaj sanjaya
on 17 Jul 2017
0 votes
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.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!