<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: R2008b Simulink: Sample Time Colors</title>
	<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/</link>
	<description>This blog is about Simulink.</description>
	<pubDate>Sun, 22 Nov 2009 23:03:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Jim</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-601</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 11 Nov 2008 14:11:42 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-601</guid>
		<description>Note that you can still print the sample times using the sim command: 

sim(bdroot,[],simset('Debug',{'stimes','stop'}))

This can be included as text in a report via Report Generator.</description>
		<content:encoded><![CDATA[<p>Note that you can still print the sample times using the sim command: </p>
<p>sim(bdroot,[],simset(&#8217;Debug&#8217;,{&#8217;stimes&#8217;,&#8217;stop&#8217;}))</p>
<p>This can be included as text in a report via Report Generator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arwen Warlock</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-587</link>
		<dc:creator>Arwen Warlock</dc:creator>
		<pubDate>Thu, 30 Oct 2008 13:31:02 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-587</guid>
		<description>@Hans: Thanks for the question. Unfortunately, printing the sample time legend is not available in R2008b. Watch the announcements from the MathWorks for future releases.</description>
		<content:encoded><![CDATA[<p>@Hans: Thanks for the question. Unfortunately, printing the sample time legend is not available in R2008b. Watch the announcements from the MathWorks for future releases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Geerligs</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-586</link>
		<dc:creator>Han Geerligs</dc:creator>
		<pubDate>Thu, 30 Oct 2008 12:09:01 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-586</guid>
		<description>@Arwen: thanks for the explanation, it was also my (wild) guess that this would be the reason.
How about printing the legend along with the model?

@Seth: thanks for the explanation as well!</description>
		<content:encoded><![CDATA[<p>@Arwen: thanks for the explanation, it was also my (wild) guess that this would be the reason.<br />
How about printing the legend along with the model?</p>
<p>@Seth: thanks for the explanation as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-584</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Thu, 30 Oct 2008 02:30:12 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-584</guid>
		<description>For those of you who don't know Arwen, she is the developer who added the sample time annotations and the sample time legend.

@Arwen - Thanks for providing some background on the feature you have been working so hard on.

@Han Geerligs - The offset can be used to distribute the execution of slow tasks across multiple fast task steps.  Consider an embedded system that runs a 10 ms base task, and 4 systems that need to be updated at 40 ms. These 4 can be scheduled with offsets so that only one runs at each 10 ms task, thus not overwhelming the processor, and not requiring premptive multitasking.

[10 0] tid 1 (base task)
[40 0] tid 2 (slow task 1)
[40 10] tid 3 (slow task 2)
[40 20] tid 4 (slow task 3)
[40 30] tid 5 (slow task 4)</description>
		<content:encoded><![CDATA[<p>For those of you who don&#8217;t know Arwen, she is the developer who added the sample time annotations and the sample time legend.</p>
<p>@Arwen - Thanks for providing some background on the feature you have been working so hard on.</p>
<p>@Han Geerligs - The offset can be used to distribute the execution of slow tasks across multiple fast task steps.  Consider an embedded system that runs a 10 ms base task, and 4 systems that need to be updated at 40 ms. These 4 can be scheduled with offsets so that only one runs at each 10 ms task, thus not overwhelming the processor, and not requiring premptive multitasking.</p>
<p>[10 0] tid 1 (base task)<br />
[40 0] tid 2 (slow task 1)<br />
[40 10] tid 3 (slow task 2)<br />
[40 20] tid 4 (slow task 3)<br />
[40 30] tid 5 (slow task 4)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arwen Warlock</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-583</link>
		<dc:creator>Arwen Warlock</dc:creator>
		<pubDate>Wed, 29 Oct 2008 17:50:39 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-583</guid>
		<description>Regarding adding the sample time to the annotation, we considered this, and even prototyped it.  We found that it made the diagram really busy for two main reasons: 1) the sample times frequently  require 5 or more significant digits to represent,  and 2) the sample time annotations have to share screen real estate with the data types, dimensions, signal names, and other properties that can be displayed on the lines.</description>
		<content:encoded><![CDATA[<p>Regarding adding the sample time to the annotation, we considered this, and even prototyped it.  We found that it made the diagram really busy for two main reasons: 1) the sample times frequently  require 5 or more significant digits to represent,  and 2) the sample time annotations have to share screen real estate with the data types, dimensions, signal names, and other properties that can be displayed on the lines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Geerligs</title>
		<link>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-582</link>
		<dc:creator>Han Geerligs</dc:creator>
		<pubDate>Wed, 29 Oct 2008 07:52:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/10/24/r2008b-simulink-sample-time-colors/#comment-582</guid>
		<description>Hi Seth,

as an enhancement maybe you could add the value of the sampletime to the annotation e.g. D1 [0.01 0] which means: discrete sampletime 1 with Tsample=0.01 and offset=0;

Btw: I was wondering in which situations the offset is chosen unequal to zero: in my daily work I never encounter such a situation?</description>
		<content:encoded><![CDATA[<p>Hi Seth,</p>
<p>as an enhancement maybe you could add the value of the sampletime to the annotation e.g. D1 [0.01 0] which means: discrete sampletime 1 with Tsample=0.01 and offset=0;</p>
<p>Btw: I was wondering in which situations the offset is chosen unequal to zero: in my daily work I never encounter such a situation?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
