Path: news.mathworks.com!not-for-mail
From: "ade77 " <ade100a@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Loading saved and trained neural network
Date: Sat, 7 Nov 2009 01:30:07 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <hd2iiv$7qu$1@fred.mathworks.com>
References: <hd2fsi$144$1@fred.mathworks.com>
Reply-To: "ade77 " <ade100a@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257557407 8030 172.30.248.38 (7 Nov 2009 01:30:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 01:30:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1059495
Xref: news.mathworks.com comp.soft-sys.matlab:583168


That is suprising. The only reason I will suspect you have that error is that you did not correctly save the network.
After training your network, let's say name of network  = net.
save net;  % will save the network (net) as net.mat.
load net;  % will retrive the network and put it in your workspace.

Also, make sure the net.mat is in your defualt directory before using load

"Ramesh R" <rameshkumar.rc@gmail.com> wrote in message <hd2fsi$144$1@fred.mathworks.com>...
> Hello ,
> 
> I am finding problem in loading the saved (trained) neural network.
> Can anybody help me and let me know, how does it works?
> I want to use the saved network in my new function. But when I use 'Load' command
> , Iam getting error.
> Please help me.
> Thanks 
> Ramesh