<?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: New Stuff – Simulink R2009b</title>
	<atom:link href="http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:23:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: konaen</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-989</link>
		<dc:creator>konaen</dc:creator>
		<pubDate>Sun, 07 Mar 2010 16:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-989</guid>
		<description>8 Problems with Simulink &#039;Scope&#039; Block

Although the version of Simulink is updating every year, I didn&#039;t see any improvement on the most frequently used block &#039;Scope&#039;. Sometimes I found it is very inconvenient to use. There are 8 problems/suggestions that I summarized according to my experience:

1. I need a cursor.
Just like a real oscilloscope, I need cursors to read current time tick, to measure X or Y difference. I don&#039;t want to zoom in many times and make subtraction.

2. I want to zoom out X, Y-axes independently.
There are &#039;Zoom&#039;, &#039;Zoom X-axis&#039; and &#039;Zoom Y-axis&#039; buttons. But I do not understand why there is no &#039;Zoom out&#039;,&#039;Zoom out X-axis&#039;,&#039;Zoom out Y-axis&#039; buttons. Sometimes, I really need to zoom out X, Y-axes independently.

3. I DO NOT want &#039;Autoscale&#039; button to change my saved axes settings.
&#039;Autoscale&#039; button is useful, but not always. After many times of &#039;Zoom in&#039; and &#039;Zoom out&#039;, I get the &#039;best&#039; view of the waveform finally. So I &#039;save current axes settings&#039;. Afterwards, I want to take a look at the overall waveform so I click the &#039;Autoscale&#039; button. Then, I hope to return to my &#039;best&#039; view so I click the &#039;restore saved axes settings&#039; button. But unfortunately, it does not bring me back!

4. I want to view the waveform from t1 to t2 exactly.
Sometimes I only want to display part of the waveform exactly, e.g. from t=0.15 s to t=0.23 s. However, it seems that the &#039;Time range&#039; parameter does not support such setting. It only allows a partial view starting from t=0.

5. I want to save my waveform after the simulation. 
Why I have to remember to check the &#039;save data to workspace&#039; box before the simulation? Many times after a long time simulation, I found I forgot to check this box and I have no choice but to run it again! Why not just provide me a menu to save the data to workspace at any time I prefer? Also, &#039;Copy figure&#039; menu (like the one in &#039;Figure&#039; window) is often desired.

6. I want to organize many scope windows into a single window.
For large scale simulation, many waveforms need to be monitored. But too many scope task buttons on my OS taskbar with undistinguishable title make my feel confused. To find the desired scope window, I have to check them one by one. I hope I can put these scope windows into a single window and use a tabbar to label them, just like the M-editor. It seems that the &#039;dock scope&#039; button can provide this function, but after docking, I cannot use the &#039;Zoom&#039; button!

7. I need a more accurate time tick.
It seems that the time ticks are not accurate enough. After many times of &#039;Zoom in&#039;, the neighboring time ticks become the same (e.g. &#039;0.0001,0.0001,0.0001,0.0001&#039;), although the simulation time step is actually smaller than 1e-4. If I cannot get a cursor, at least I hope I can read the time tick accurately by myself.

8. I hope &#039;Autoscale&#039; function can reserve some margin for the waveform.
Boolean signals are frequently used. But after autosacling, I find the yellow waveform completely overlaps with the figure frame, making it very hard to distinguish between 0 and 1. In this situation, I have to set Y-min, Y-max to -1 and 2 respectively so as to view clearly. This is time-consuming, so I hope the &#039;Autoscale&#039; function can always reserve some margin for the waveform.</description>
		<content:encoded><![CDATA[<p>8 Problems with Simulink &#8216;Scope&#8217; Block</p>
<p>Although the version of Simulink is updating every year, I didn&#8217;t see any improvement on the most frequently used block &#8216;Scope&#8217;. Sometimes I found it is very inconvenient to use. There are 8 problems/suggestions that I summarized according to my experience:</p>
<p>1. I need a cursor.<br />
Just like a real oscilloscope, I need cursors to read current time tick, to measure X or Y difference. I don&#8217;t want to zoom in many times and make subtraction.</p>
<p>2. I want to zoom out X, Y-axes independently.<br />
There are &#8216;Zoom&#8217;, &#8216;Zoom X-axis&#8217; and &#8216;Zoom Y-axis&#8217; buttons. But I do not understand why there is no &#8216;Zoom out&#8217;,'Zoom out X-axis&#8217;,'Zoom out Y-axis&#8217; buttons. Sometimes, I really need to zoom out X, Y-axes independently.</p>
<p>3. I DO NOT want &#8216;Autoscale&#8217; button to change my saved axes settings.<br />
&#8216;Autoscale&#8217; button is useful, but not always. After many times of &#8216;Zoom in&#8217; and &#8216;Zoom out&#8217;, I get the &#8216;best&#8217; view of the waveform finally. So I &#8216;save current axes settings&#8217;. Afterwards, I want to take a look at the overall waveform so I click the &#8216;Autoscale&#8217; button. Then, I hope to return to my &#8216;best&#8217; view so I click the &#8216;restore saved axes settings&#8217; button. But unfortunately, it does not bring me back!</p>
<p>4. I want to view the waveform from t1 to t2 exactly.<br />
Sometimes I only want to display part of the waveform exactly, e.g. from t=0.15 s to t=0.23 s. However, it seems that the &#8216;Time range&#8217; parameter does not support such setting. It only allows a partial view starting from t=0.</p>
<p>5. I want to save my waveform after the simulation.<br />
Why I have to remember to check the &#8216;save data to workspace&#8217; box before the simulation? Many times after a long time simulation, I found I forgot to check this box and I have no choice but to run it again! Why not just provide me a menu to save the data to workspace at any time I prefer? Also, &#8216;Copy figure&#8217; menu (like the one in &#8216;Figure&#8217; window) is often desired.</p>
<p>6. I want to organize many scope windows into a single window.<br />
For large scale simulation, many waveforms need to be monitored. But too many scope task buttons on my OS taskbar with undistinguishable title make my feel confused. To find the desired scope window, I have to check them one by one. I hope I can put these scope windows into a single window and use a tabbar to label them, just like the M-editor. It seems that the &#8216;dock scope&#8217; button can provide this function, but after docking, I cannot use the &#8216;Zoom&#8217; button!</p>
<p>7. I need a more accurate time tick.<br />
It seems that the time ticks are not accurate enough. After many times of &#8216;Zoom in&#8217;, the neighboring time ticks become the same (e.g. &#8217;0.0001,0.0001,0.0001,0.0001&#8242;), although the simulation time step is actually smaller than 1e-4. If I cannot get a cursor, at least I hope I can read the time tick accurately by myself.</p>
<p>8. I hope &#8216;Autoscale&#8217; function can reserve some margin for the waveform.<br />
Boolean signals are frequently used. But after autosacling, I find the yellow waveform completely overlaps with the figure frame, making it very hard to distinguish between 0 and 1. In this situation, I have to set Y-min, Y-max to -1 and 2 respectively so as to view clearly. This is time-consuming, so I hope the &#8216;Autoscale&#8217; function can always reserve some margin for the waveform.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-974</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Sat, 13 Feb 2010 02:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-974</guid>
		<description>@Seth, Thank you for answering. The suggestion is inferior and ruins user&#039;s experience. What really needed is to open up mask dialog API so  mask block can be implemented with native look and feel GUI. I will add two more examples: the Editor push button for lookup block and multi-tabs for signal attributes.

A mini-GUIDE would be nice for mask GUI designer.</description>
		<content:encoded><![CDATA[<p>@Seth, Thank you for answering. The suggestion is inferior and ruins user&#8217;s experience. What really needed is to open up mask dialog API so  mask block can be implemented with native look and feel GUI. I will add two more examples: the Editor push button for lookup block and multi-tabs for signal attributes.</p>
<p>A mini-GUIDE would be nice for mask GUI designer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-950</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-950</guid>
		<description>@wei - I know you asked this a LONG time ago, but to answer your question, when switching between Pop-up and edit text, you would need a control parameter (like a check box).  This check box could set the visibility of the Pop-up to &#039;off&#039; and set the edit-text to &#039;on&#039;.  If the Prompt appears the same, the visual effect will be that it switched.  Then, in the MaskInitialization, code would need to decide which parameter to use and assign to the variable used in the system (or action to take based on the settings of those three parameters).  Does that make sense?</description>
		<content:encoded><![CDATA[<p>@wei &#8211; I know you asked this a LONG time ago, but to answer your question, when switching between Pop-up and edit text, you would need a control parameter (like a check box).  This check box could set the visibility of the Pop-up to &#8216;off&#8217; and set the edit-text to &#8216;on&#8217;.  If the Prompt appears the same, the visual effect will be that it switched.  Then, in the MaskInitialization, code would need to decide which parameter to use and assign to the variable used in the system (or action to take based on the settings of those three parameters).  Does that make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-874</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 23 Oct 2009 18:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-874</guid>
		<description>@Shen-Hsiao - It is hard to know exactly what problem you are describing with such little information, but there is a known issue with Mac&#039;s that have multiple monitors. There is a published &lt;a href=&quot;http://www.mathworks.com/support/bugreports/569772&quot; rel=&quot;nofollow&quot;&gt;bug report here&lt;/a&gt; (requires log-in).   I should note that there are a couple workarounds described on the bug report, so you might want to try them.  If this is the problem you have, we are working on a fix for this.</description>
		<content:encoded><![CDATA[<p>@Shen-Hsiao &#8211; It is hard to know exactly what problem you are describing with such little information, but there is a known issue with Mac&#8217;s that have multiple monitors. There is a published <a href="http://www.mathworks.com/support/bugreports/569772" rel="nofollow">bug report here</a> (requires log-in).   I should note that there are a couple workarounds described on the bug report, so you might want to try them.  If this is the problem you have, we are working on a fix for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shen-Hsiao</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-873</link>
		<dc:creator>Shen-Hsiao</dc:creator>
		<pubDate>Fri, 23 Oct 2009 03:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-873</guid>
		<description>Any chance that the Simulink interface under Mac OS X will be updated to match that of the Matlab desktop? The &quot;drag-and-drop&quot; of blocks doesn&#039;t work on the X11/Motif-like interface of the current v7.4 on R2009b.</description>
		<content:encoded><![CDATA[<p>Any chance that the Simulink interface under Mac OS X will be updated to match that of the Matlab desktop? The &#8220;drag-and-drop&#8221; of blocks doesn&#8217;t work on the X11/Motif-like interface of the current v7.4 on R2009b.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-870</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-870</guid>
		<description>@Seth, Could mask parameter entry change from popup to edit text? Take a look at Constant block&#039;s &#039;OutDataTypeStr&#039;.</description>
		<content:encoded><![CDATA[<p>@Seth, Could mask parameter entry change from popup to edit text? Take a look at Constant block&#8217;s &#8216;OutDataTypeStr&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-851</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 15 Sep 2009 12:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-851</guid>
		<description>@JCA - I am glad to hear that we fixed your favorite bugs.  This is one of the benefits of the six month release cycle... you don&#039;t have to wait a long time to get bugs fixed.

In R2007b your really limited based on the requirements you have provided.  The easiest way to hide IP in that release is to use RTW to Generate an S-function.  This does not support inlined code generation, so you have to use an RTW target that supports calling non-inlined S-functions.  Even in that situation, I have seen some users generate code, then use a C-language obfuscation tool to provided the source to be included with the final generated model.  This would still be needed today as our R2009b IP protection solution is for simulation only.</description>
		<content:encoded><![CDATA[<p>@JCA &#8211; I am glad to hear that we fixed your favorite bugs.  This is one of the benefits of the six month release cycle&#8230; you don&#8217;t have to wait a long time to get bugs fixed.</p>
<p>In R2007b your really limited based on the requirements you have provided.  The easiest way to hide IP in that release is to use RTW to Generate an S-function.  This does not support inlined code generation, so you have to use an RTW target that supports calling non-inlined S-functions.  Even in that situation, I have seen some users generate code, then use a C-language obfuscation tool to provided the source to be included with the final generated model.  This would still be needed today as our R2009b IP protection solution is for simulation only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JCA</title>
		<link>http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-847</link>
		<dc:creator>JCA</dc:creator>
		<pubDate>Mon, 14 Sep 2009 16:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/09/09/new-stuff-%e2%80%93-simulink-r2009b/#comment-847</guid>
		<description>Sounds like a good update.

It has two changes that are especially relevant to my work right now, but unfortunately at this stage I won&#039;t be able to switch versions.

First, I hear it fixes my favorite bug: 529072

That one was killing me on this project, so it&#039;s good to hear it&#039;ll be gone for the next one.

Second, is the IP protection feature. We&#039;re struggling with that right now at the end of our project (I know, should have thought about it sooner!).

I&#039;m hoping you can suggest something that I can do with 2007b. Basically I have a block within a large model that I need to protect. The block with all the IP is currently an Embedded MATLAB code block. We want to deliver the block as part of the model, but the customer must not be able to see the code (they&#039;ll look at the raw mdl text if they have to, trust me). Can you suggest any non-invasive ways of doing that? The end result is built using rtw and is run in a &quot;realtime&quot;-windows environment (don&#039;t ask! :) ).

Great blog, and thanks for any reply you can give. At the very least, the hoops I&#039;m describing here will be an effective sales tool for 2009b. :)

Cheers</description>
		<content:encoded><![CDATA[<p>Sounds like a good update.</p>
<p>It has two changes that are especially relevant to my work right now, but unfortunately at this stage I won&#8217;t be able to switch versions.</p>
<p>First, I hear it fixes my favorite bug: 529072</p>
<p>That one was killing me on this project, so it&#8217;s good to hear it&#8217;ll be gone for the next one.</p>
<p>Second, is the IP protection feature. We&#8217;re struggling with that right now at the end of our project (I know, should have thought about it sooner!).</p>
<p>I&#8217;m hoping you can suggest something that I can do with 2007b. Basically I have a block within a large model that I need to protect. The block with all the IP is currently an Embedded MATLAB code block. We want to deliver the block as part of the model, but the customer must not be able to see the code (they&#8217;ll look at the raw mdl text if they have to, trust me). Can you suggest any non-invasive ways of doing that? The end result is built using rtw and is run in a &#8220;realtime&#8221;-windows environment (don&#8217;t ask! :) ).</p>
<p>Great blog, and thanks for any reply you can give. At the very least, the hoops I&#8217;m describing here will be an effective sales tool for 2009b. :)</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

