<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Radar Tracking in Simulink: Variable Size Signals</title>
	<atom:link href="http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Mon, 13 Feb 2012 02:07:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mr. Canhnguyendinh</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-1177</link>
		<dc:creator>Mr. Canhnguyendinh</dc:creator>
		<pubDate>Mon, 09 Aug 2010 08:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-1177</guid>
		<description>i need thi sdocument, thaks you.</description>
		<content:encoded><![CDATA[<p>i need thi sdocument, thaks you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-979</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Mon, 15 Feb 2010 22:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-979</guid>
		<description>@Nitin - The demo model &lt;pre&gt;sfcndemo_varsize&lt;/pre&gt; has example S-functions that implement the variable dimension signals.  When the demo model is open, click on the blue annotation blocks to open the associated S-function files.  You will see the API&#039;s in action, like:
&lt;pre&gt;
ssSetInputPortDimensionInfo(S, 0, DYNAMIC_DIMENSION)
ssSetInputPortDimensionsMode(S, 0, INHERIT_DIMS_MODE)
ssSetSignalSizesComputeType(S, SS_VARIABLE_SIZE_FROM_INPUT_SIZE)
int uWidth1 = ssGetCurrentInputPortDimensions(S, 0, 0)

&lt;/pre&gt;


Good luck!</description>
		<content:encoded><![CDATA[<p>@Nitin &#8211; The demo model
<pre>sfcndemo_varsize</pre>
</p><p> has example S-functions that implement the variable dimension signals.  When the demo model is open, click on the blue annotation blocks to open the associated S-function files.  You will see the API&#8217;s in action, like:</p>
<pre>
ssSetInputPortDimensionInfo(S, 0, DYNAMIC_DIMENSION)
ssSetInputPortDimensionsMode(S, 0, INHERIT_DIMS_MODE)
ssSetSignalSizesComputeType(S, SS_VARIABLE_SIZE_FROM_INPUT_SIZE)
int uWidth1 = ssGetCurrentInputPortDimensions(S, 0, 0)
</pre>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-909</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Wed, 09 Dec 2009 13:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-909</guid>
		<description>I want to have a level-2 C S function whose output is a variable size signals.
The details are given below

1. Number of inputs = 0
2. Number of outputs = 1
3. Dimension of output - variable size signal (dimensions changes during simulation) at t=0 dimension is 1X1 at t = 1  dimension is 2X2 and so on. The value is always 1.

Could you please let me know as to how this could be done.
I had already seen the S-function example as given in
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/br9ecac-1.html
But could not figure out the exact API&#039;s which are needed.</description>
		<content:encoded><![CDATA[<p>I want to have a level-2 C S function whose output is a variable size signals.<br />
The details are given below</p>
<p>1. Number of inputs = 0<br />
2. Number of outputs = 1<br />
3. Dimension of output &#8211; variable size signal (dimensions changes during simulation) at t=0 dimension is 1X1 at t = 1  dimension is 2X2 and so on. The value is always 1.</p>
<p>Could you please let me know as to how this could be done.<br />
I had already seen the S-function example as given in<br />
<a href="http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/br9ecac-1.html" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/br9ecac-1.html</a><br />
But could not figure out the exact API&#8217;s which are needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-886</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 06 Nov 2009 01:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-886</guid>
		<description>@Han - Aarti&#039;s response is in a post titled &lt;a href=&quot;http://blogs.mathworks.com/seth/2009/11/06/generated-code-for-variable-size-signals/&quot; rel=&quot;nofollow&quot;&gt;Generated Code for Variable Size Signals&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Han &#8211; Aarti&#8217;s response is in a post titled <a href="http://blogs.mathworks.com/seth/2009/11/06/generated-code-for-variable-size-signals/" rel="nofollow">Generated Code for Variable Size Signals</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-880</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Thu, 29 Oct 2009 23:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-880</guid>
		<description>@Han - The basic change to the code is the addition of dimensions information.  Each signal passed between blocks also need to pass dimensions on to the next block.  Aarti will prepare an example to share as a future post.  Thanks for your interest.</description>
		<content:encoded><![CDATA[<p>@Han &#8211; The basic change to the code is the addition of dimensions information.  Each signal passed between blocks also need to pass dimensions on to the next block.  Aarti will prepare an example to share as a future post.  Thanks for your interest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Geerligs</title>
		<link>http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-875</link>
		<dc:creator>Han Geerligs</dc:creator>
		<pubDate>Mon, 26 Oct 2009 13:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/10/16/radar-tracking-in-simulink-variable-size-signals/#comment-875</guid>
		<description>Aarti,

I would be interested in the effect on RTW generated code for variable size signals. Could you show some examples?

-Han</description>
		<content:encoded><![CDATA[<p>Aarti,</p>
<p>I would be interested in the effect on RTW generated code for variable size signals. Could you show some examples?</p>
<p>-Han</p>
]]></content:encoded>
	</item>
</channel>
</rss>

