Path: news.mathworks.com!not-for-mail
From: "Kevin " <kedecuyp@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Simulink crashes when using fixed point sqrt
Date: Fri, 30 May 2008 14:51:02 +0000 (UTC)
Organization: Universite libre de Bruxelles
Lines: 16
Message-ID: <g1p48m$lvc$1@fred.mathworks.com>
References: <g1p353$88r$1@fred.mathworks.com>
Reply-To: "Kevin " <kedecuyp@mathworks.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212159062 22508 172.30.248.35 (30 May 2008 14:51:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 30 May 2008 14:51:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1210415
Xref: news.mathworks.com comp.soft-sys.matlab:471405



"Kevin " <kedecuyp@mathworks.com> wrote in message
<g1p353$88r$1@fred.mathworks.com>...
> Hello
> I'm trying to use the fixed-point toolbox with Simulink, but
> I have some problems with it.
> My version of Matlab is 2007a
> To start with an easy one (or so I thought), I connected a
> constant block to an sqrt one (from 'math function') and
> then to a scope.
> I first set the sqrt output to a 16bits long word, and there
> was no problem. When I input more, the simulation doesn't
> start but doesn't return any error message. From that moment
> on, every simulation will fail, even I put double as the
> output type. I have to restart Matlab.
> Where did I go wrong?
By 'more', I wanted to say 'a word with more bits'