필터 지우기
필터 지우기

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에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by