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



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?