Path: news.mathworks.com!not-for-mail
From: "Ashish Uthama" <ashishu@ece.ubc.ca>
Newsgroups: comp.soft-sys.matlab
Subject: Re: 'sim' unsupported for standalone
Date: Wed, 12 Mar 2008 10:47:11 -0400
Organization: TMW
Lines: 35
Message-ID: <op.t7wrcxjhxwvkfj@uthamaa.dhcp.mathworks.com>
References: <fr5sr9$45c$1@fred.mathworks.com> <op.t7vby9hoxwvkfj@uthamaa.dhcp.mathworks.com> <fr850p$e0c$1@fred.mathworks.com> <op.t7wncghexwvkfj@uthamaa.dhcp.mathworks.com> <fr8pdu$ef8$1@fred.mathworks.com> <op.t7wrbso4xwvkfj@uthamaa.dhcp.mathworks.com>
NNTP-Posting-Host: uthamaa.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1205333232 29849 144.212.206.107 (12 Mar 2008 14:47:12 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 12 Mar 2008 14:47:12 +0000 (UTC)
User-Agent: Opera Mail/9.25 (Win32)
Xref: news.mathworks.com comp.soft-sys.matlab:456810



the sim in the list of unsupported function might be referring to the  
simulink 'sim' command.

On Wed, 12 Mar 2008 10:46:30 -0400, Ashish Uthama <ashishu@ece.ubc.ca>  
wrote:

> gah. sorry for the confusion.
>
> You should be able to use sim, gensim is the one not supported for  
> deployment (EXE) I guess.
>
> so you were right, have to use function pragma,
>
> The earlier link mentions:
> %#function network
>
> Just add this line on top of your M-file, let us know if it works.
> or try
> %#nnet/sim
>
> or ..keep trying something :D
>
> On Wed, 12 Mar 2008 10:30:22 -0400, Blueblood Kingroyale  
> <edproject.cec@gmail.com> wrote:
>
>> Hi Ashish, really do appreciate your inputs here.
>> So maybe I should get used to the hard fact of life that I
>> cant have 'sim' and the .exe at the same time. Now check
>> this - I am using  sim to train the network before I use it.
>> But to get the output of the Neural Network during run time
>> (upon presenting a dynamic input) I will need sim again,
>> won't I ? Or is there any other way to use a pre-trained
>> Neural Network?
>