<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170212</link>
    <title>MATLAB Central Newsreader - Simulink crashes when using fixed point sqrt</title>
    <description>Feed for thread: Simulink crashes when using fixed point sqrt</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 30 May 2008 14:32:03 -0400</pubDate>
      <title>Simulink crashes when using fixed point sqrt</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170212#435054</link>
      <author>Kevin </author>
      <description>Hello&lt;br&gt;
I'm trying to use the fixed-point toolbox with Simulink, but&lt;br&gt;
I have some problems with it.&lt;br&gt;
My version of Matlab is 2007a&lt;br&gt;
To start with an easy one (or so I thought), I connected a&lt;br&gt;
constant block to an sqrt one (from 'math function') and&lt;br&gt;
then to a scope.&lt;br&gt;
I first set the sqrt output to a 16bits long word, and there&lt;br&gt;
was no problem. When I input more, the simulation doesn't&lt;br&gt;
start but doesn't return any error message. From that moment&lt;br&gt;
on, every simulation will fail, even I put double as the&lt;br&gt;
output type. I have to restart Matlab.&lt;br&gt;
Where did I go wrong?</description>
    </item>
    <item>
      <pubDate>Fri, 30 May 2008 14:51:02 -0400</pubDate>
      <title>Re: Simulink crashes when using fixed point sqrt</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170212#435059</link>
      <author>Kevin </author>
      <description>&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1p353$88r$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello&lt;br&gt;
&amp;gt; I'm trying to use the fixed-point toolbox with Simulink, but&lt;br&gt;
&amp;gt; I have some problems with it.&lt;br&gt;
&amp;gt; My version of Matlab is 2007a&lt;br&gt;
&amp;gt; To start with an easy one (or so I thought), I connected a&lt;br&gt;
&amp;gt; constant block to an sqrt one (from 'math function') and&lt;br&gt;
&amp;gt; then to a scope.&lt;br&gt;
&amp;gt; I first set the sqrt output to a 16bits long word, and there&lt;br&gt;
&amp;gt; was no problem. When I input more, the simulation doesn't&lt;br&gt;
&amp;gt; start but doesn't return any error message. From that moment&lt;br&gt;
&amp;gt; on, every simulation will fail, even I put double as the&lt;br&gt;
&amp;gt; output type. I have to restart Matlab.&lt;br&gt;
&amp;gt; Where did I go wrong?&lt;br&gt;
By 'more', I wanted to say 'a word with more bits'</description>
    </item>
    <item>
      <pubDate>Fri, 06 Jun 2008 17:02:49 -0400</pubDate>
      <title>Re: Simulink crashes when using fixed point sqrt</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170212#436231</link>
      <author>Ashok Charry</author>
      <description>Hi Kevin, &lt;br&gt;
Would it possible for you to attach/send me a model that reproduces this&lt;br&gt;
problem? Also, what was the type of your input the first time and then the&lt;br&gt;
second time?&lt;br&gt;
I may be able to help you if I have some more information.&lt;br&gt;
Thanks,&lt;br&gt;
Ashok Charry&lt;br&gt;
The MathWorks Inc.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On 5/30/08 10:51 AM, in article g1p48m$lvc$1@fred.mathworks.com, &quot;Kevin&quot;&lt;br&gt;
&amp;lt;kedecuyp@mathworks.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; &quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;g1p353$88r$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;&amp;gt; Hello&lt;br&gt;
&amp;gt;&amp;gt; I'm trying to use the fixed-point toolbox with Simulink, but&lt;br&gt;
&amp;gt;&amp;gt; I have some problems with it.&lt;br&gt;
&amp;gt;&amp;gt; My version of Matlab is 2007a&lt;br&gt;
&amp;gt;&amp;gt; To start with an easy one (or so I thought), I connected a&lt;br&gt;
&amp;gt;&amp;gt; constant block to an sqrt one (from 'math function') and&lt;br&gt;
&amp;gt;&amp;gt; then to a scope.&lt;br&gt;
&amp;gt;&amp;gt; I first set the sqrt output to a 16bits long word, and there&lt;br&gt;
&amp;gt;&amp;gt; was no problem. When I input more, the simulation doesn't&lt;br&gt;
&amp;gt;&amp;gt; start but doesn't return any error message. From that moment&lt;br&gt;
&amp;gt;&amp;gt; on, every simulation will fail, even I put double as the&lt;br&gt;
&amp;gt;&amp;gt; output type. I have to restart Matlab.&lt;br&gt;
&amp;gt;&amp;gt; Where did I go wrong?&lt;br&gt;
&amp;gt; By 'more', I wanted to say 'a word with more bits'</description>
    </item>
  </channel>
</rss>

