I am unable to perform the function "load('neuralnet.mat');" using MATLAB 2012a

1 次查看(过去 30 天)
clear all; clc; clf; close all;
tic
sets =10;
iterations=1;
trials=1;
pop = zeros(12,sets);
for i=1:sets
pop1=randi([10,4000],12,1);
addi =sum(pop1);
while addi <= 24000
pop1= randi([10,4000],12,1);
addi = sum(pop1);
end
if addi>=24000
pop(:,i)=pop1;
end
end
ymin=0;
a =sum(pop,1);
load('neuralnet.mat');
objvalue=sim(net,pop);
obj1=transpose(objvalue);
obj2=0;
yo=0;
[yi,q] =min(obj1);
gbest1 = pop(:,[q]);
I am unable to perform the function "load('neuralnet.mat');" using MATLAB 2012a what may the posible reason.
Apart from this I am getting the the following warning and error message respectivley.
Warning: An error occurred when running a class's loadobj
method. The object that was loaded from the MAT-file was a
copy of the object before the loadobj method was run. The
rest of the variables were also loaded from the MAT-file.
The encountered error was:
Error using nnupdate.net (line 36)
Cannot update network of unrecognized version.
> In annde at 21
Error using annde (line 22)
'model' parameter must be a string

采纳的回答

Walter Roberson
Walter Roberson 2021-6-25
neuralnet.mat is not part of any Mathworks product, unless it is part of an example that I have not found yet.
You need to create it, or download it from somewhere relevant, such as
or get it from the author of https://pfigshare-u-files.s3.amazonaws.com/1470313/CAGUAetal_revised_20140418.pdf ("Acoustic Monitoring of Blast Fishing")

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Mobile 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by