I am unable to perform the function "load('neuralnet.mat');" using MATLAB 2012a
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Sharad Patel
il 25 Giu 2021
Commentato: Sharad Patel
il 25 Giu 2021
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
0 Commenti
Risposta accettata
Walter Roberson
il 25 Giu 2021
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")
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Mobile in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!