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

1 回表示 (過去 30 日間)
Sharad Patel
Sharad Patel 2021 年 6 月 25 日
コメント済み: Sharad Patel 2021 年 6 月 25 日
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 Center および File ExchangeMATLAB Mobile についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by