<?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 for Seth on Simulink</title>
	<link>http://blogs.mathworks.com/seth</link>
	<description>This blog is about Simulink.</description>
	<pubDate>Sun, 07 Sep 2008 02:34:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>Comment on What&#8217;s in your model? by parth damani</title>
		<link>http://blogs.mathworks.com/seth/2008/06/19/whats-in-your-model/#comment-533</link>
		<dc:creator>parth damani</dc:creator>
		<pubDate>Fri, 05 Sep 2008 05:33:00 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/06/19/whats-in-your-model/#comment-533</guid>
		<description>This was very helpful. I want one help about if you have any idea. I want to generate .mdl file from .m file, so that i can generate verilog code from .mdl file. Is it possible in matlab?</description>
		<content:encoded><![CDATA[<p>This was very helpful. I want one help about if you have any idea. I want to generate .mdl file from .m file, so that i can generate verilog code from .mdl file. Is it possible in matlab?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Organizing Mask Callbacks by Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/08/28/organizing-mask-callbacks/#comment-532</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 05 Sep 2008 03:48:48 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/28/organizing-mask-callbacks/#comment-532</guid>
		<description>@ John Reily - The string entered into your mask will be evaluated in the parent workspace, (it could come from a system above the current one), or it may trace all the way back to the base workspace.

The Dialog Callback is tricky because you can't always guarantee that the value is known.  For example, when I set a gain value of A, I often later add that to the model workspace, or base workspace.  The tricky problem you face is trying to anticipate where the variable is coming from, and as you note, it could be in the model workspace, the MATLAB base workspace, or some parent system workspace that passed down through hierarchical resolution.

An alternative design is to use Mask Initialization to check the value.  At that point, the value is known and available to your code without calling get_param.

Can you give more details about what you are trying to do in yor mask callback?</description>
		<content:encoded><![CDATA[<p>@ John Reily - The string entered into your mask will be evaluated in the parent workspace, (it could come from a system above the current one), or it may trace all the way back to the base workspace.</p>
<p>The Dialog Callback is tricky because you can&#8217;t always guarantee that the value is known.  For example, when I set a gain value of A, I often later add that to the model workspace, or base workspace.  The tricky problem you face is trying to anticipate where the variable is coming from, and as you note, it could be in the model workspace, the MATLAB base workspace, or some parent system workspace that passed down through hierarchical resolution.</p>
<p>An alternative design is to use Mask Initialization to check the value.  At that point, the value is known and available to your code without calling get_param.</p>
<p>Can you give more details about what you are trying to do in yor mask callback?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mask Initialization and Self-Modifying Blocks by Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-531</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 05 Sep 2008 01:35:43 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-531</guid>
		<description>@Quan - Thanks for the compliment!

@Jim - The two methods can be combined.  If you have large structural changes in your block algorithm, the configurable subsystem can be used to switch between them.  It may be even easier to simply delete one block and replace it with the other, and then wire the ports appropriately.</description>
		<content:encoded><![CDATA[<p>@Quan - Thanks for the compliment!</p>
<p>@Jim - The two methods can be combined.  If you have large structural changes in your block algorithm, the configurable subsystem can be used to switch between them.  It may be even easier to simply delete one block and replace it with the other, and then wire the ports appropriately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mask Initialization and Self-Modifying Blocks by Jim</title>
		<link>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-520</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 29 Aug 2008 14:36:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-520</guid>
		<description>I have used configurable subsystems in my library to provide a similar capability - one block provides multiple variations of basically the same functionality. The drawback with my approach is that the input ports are present whether they are used or not. It seems that this approach could provide similar functionality with a much cleaner finished model.

Can the two techniques be combined - i.e., can I update my configurable subsytems to remove unused inputs via self-modification without breaking all my existing models that use those blocks?</description>
		<content:encoded><![CDATA[<p>I have used configurable subsystems in my library to provide a similar capability - one block provides multiple variations of basically the same functionality. The drawback with my approach is that the input ports are present whether they are used or not. It seems that this approach could provide similar functionality with a much cleaner finished model.</p>
<p>Can the two techniques be combined - i.e., can I update my configurable subsytems to remove unused inputs via self-modification without breaking all my existing models that use those blocks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Organizing Mask Callbacks by John Reilly</title>
		<link>http://blogs.mathworks.com/seth/2008/08/28/organizing-mask-callbacks/#comment-519</link>
		<dc:creator>John Reilly</dc:creator>
		<pubDate>Fri, 29 Aug 2008 14:18:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/28/organizing-mask-callbacks/#comment-519</guid>
		<description>Seth:
Thanks for a great series. As I am in the process of building a set of Simulink blocks, these were both timely and helpful.

I took your advice, and the advice of a commenter to create an "enumeration" of parameter indices. Now my callback switchyard calls get_param(blk, 'MaskNames') and passes that result to the individual handlers.  Using the global enumerated indices, I don't change any code if I rename parameters.  I just have to keep the enumerations up to date.

One question.  If my parameter is set to a variable, get_param() in my callbacks returns that variable string.  I've found that I have to try evaluating the get_param() results in first the model workspace, and then the caller (i.e. MATLAB's) workspace if I need the actual numeric value.  Is this indeed the case?  Is their an easier way?

Thanks again.
reilly.</description>
		<content:encoded><![CDATA[<p>Seth:<br />
Thanks for a great series. As I am in the process of building a set of Simulink blocks, these were both timely and helpful.</p>
<p>I took your advice, and the advice of a commenter to create an &#8220;enumeration&#8221; of parameter indices. Now my callback switchyard calls get_param(blk, &#8216;MaskNames&#8217;) and passes that result to the individual handlers.  Using the global enumerated indices, I don&#8217;t change any code if I rename parameters.  I just have to keep the enumerations up to date.</p>
<p>One question.  If my parameter is set to a variable, get_param() in my callbacks returns that variable string.  I&#8217;ve found that I have to try evaluating the get_param() results in first the model workspace, and then the caller (i.e. MATLAB&#8217;s) workspace if I need the actual numeric value.  Is this indeed the case?  Is their an easier way?</p>
<p>Thanks again.<br />
reilly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to draw ODEs in Simulink by RAMYA</title>
		<link>http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/#comment-517</link>
		<dc:creator>RAMYA</dc:creator>
		<pubDate>Fri, 29 Aug 2008 12:49:59 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/#comment-517</guid>
		<description>sir,
am pursuing my masters in communication engineering. i am finding some difficult in implementing a block given in my paper, using simulink. Dynamic simulation of MEMS switches using Simulink® I VE ATTACHED THE PAPER FOR UR CONVENIENCE. PLEASE HELP ME IN IMPLEMENTING THE EQUATIONS AND BLOCKS IN SIMULINK. EXPECTING A POSITIVE REPLY FROM YOU AT THE EARLIEST SIR..
D. J. Combes, K. M. Brunson and R. J. T. Bunyan
QinetiQ Malvem, St Andrews Road, Malvem, Worcestershire, WR14 3PS
ABSTRACT:
A nodal model is implemented in Simulink and used to investigate the dynamics of electrostatically actuated MEMS switches. The model is based on reduced order 4DOF beam elements, with electrostatic forces based on simple parallel plate approximations at each node. Hard stops and contact stiction conditions are implemented. Using this model, the role of dynamic forces in overcoming contact stiction in MEMS switches is investigated. For an example MEMS switch, the relationship between the design of the switch, the strain energy under actuation and the dynamic restoring force are discussed. Dynamic forces are found to play a highly significant role in overcoming contact stiction.
Keywords: MEMS switch, Simulink, Dynamic model, Stiction force
 GOD... AM UNABLE TO COPY THE BLOCK SETH...</description>
		<content:encoded><![CDATA[<p>sir,<br />
am pursuing my masters in communication engineering. i am finding some difficult in implementing a block given in my paper, using simulink. Dynamic simulation of MEMS switches using Simulink® I VE ATTACHED THE PAPER FOR UR CONVENIENCE. PLEASE HELP ME IN IMPLEMENTING THE EQUATIONS AND BLOCKS IN SIMULINK. EXPECTING A POSITIVE REPLY FROM YOU AT THE EARLIEST SIR..<br />
D. J. Combes, K. M. Brunson and R. J. T. Bunyan<br />
QinetiQ Malvem, St Andrews Road, Malvem, Worcestershire, WR14 3PS<br />
ABSTRACT:<br />
A nodal model is implemented in Simulink and used to investigate the dynamics of electrostatically actuated MEMS switches. The model is based on reduced order 4DOF beam elements, with electrostatic forces based on simple parallel plate approximations at each node. Hard stops and contact stiction conditions are implemented. Using this model, the role of dynamic forces in overcoming contact stiction in MEMS switches is investigated. For an example MEMS switch, the relationship between the design of the switch, the strain energy under actuation and the dynamic restoring force are discussed. Dynamic forces are found to play a highly significant role in overcoming contact stiction.<br />
Keywords: MEMS switch, Simulink, Dynamic model, Stiction force<br />
 GOD&#8230; AM UNABLE TO COPY THE BLOCK SETH&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mask Initialization and Self-Modifying Blocks by Quan</title>
		<link>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-515</link>
		<dc:creator>Quan</dc:creator>
		<pubDate>Thu, 28 Aug 2008 23:50:21 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/21/mask-initialization-and-self-modifying-blocks/#comment-515</guid>
		<description>Hi Seth,

Great graphics you got here.  I especially like the first one,  cool animated picture!  I"m not a big simulink user, but I like the way you presented your information.  Love the graphics.

Quan</description>
		<content:encoded><![CDATA[<p>Hi Seth,</p>
<p>Great graphics you got here.  I especially like the first one,  cool animated picture!  I&#8221;m not a big simulink user, but I like the way you presented your information.  Love the graphics.</p>
<p>Quan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Simulink Central Community by ChinKeat Low</title>
		<link>http://blogs.mathworks.com/seth/2008/06/06/the-simulink-central-community/#comment-513</link>
		<dc:creator>ChinKeat Low</dc:creator>
		<pubDate>Thu, 28 Aug 2008 08:05:56 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/06/06/the-simulink-central-community/#comment-513</guid>
		<description>Hi. I'm a new user of Matlab &#38; Simulink. I would like to know more on building and simulating an electric power system. Is there any link that provides information on SimPowerSystem. Recommendation of a book would be great as i'm still new to this application.</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;m a new user of Matlab &amp; Simulink. I would like to know more on building and simulating an electric power system. Is there any link that provides information on SimPowerSystem. Recommendation of a book would be great as i&#8217;m still new to this application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic Mask Dialogs by Alex</title>
		<link>http://blogs.mathworks.com/seth/2008/08/13/dynamic-mask-dialogs/#comment-511</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:03:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/08/13/dynamic-mask-dialogs/#comment-511</guid>
		<description>Is it possible to dynamically change the MaskStyle, i.e. change the text entries of a popup parameter? 

For example, I would like to have a popup, whichs offers the choice between different parameter files I can load for the block. Now, I don't want to alter the popup manually everytime I add a parameter-file to the list in the library block but rather scan a folder containing the files and create the popup list accordingly. Whenever I try something like this in the dialog callback with 
set_param(blk,'MaskStyles',list) 
the dialog is closed automatically with a warning that a mask parameter has been changed. 

Any suggestions/ideas on how to solve this problem?

Thanks</description>
		<content:encoded><![CDATA[<p>Is it possible to dynamically change the MaskStyle, i.e. change the text entries of a popup parameter? </p>
<p>For example, I would like to have a popup, whichs offers the choice between different parameter files I can load for the block. Now, I don&#8217;t want to alter the popup manually everytime I add a parameter-file to the list in the library block but rather scan a folder containing the files and create the popup list accordingly. Whenever I try something like this in the dialog callback with<br />
set_param(blk,&#8217;MaskStyles&#8217;,list)<br />
the dialog is closed automatically with a warning that a mask parameter has been changed. </p>
<p>Any suggestions/ideas on how to solve this problem?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bus Objects and Interface Specifications by Maarten</title>
		<link>http://blogs.mathworks.com/seth/2008/04/18/bus-objects-and-interface-specifications/#comment-508</link>
		<dc:creator>Maarten</dc:creator>
		<pubDate>Tue, 26 Aug 2008 10:13:10 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2008/04/18/bus-objects-and-interface-specifications/#comment-508</guid>
		<description>Seth,

As far as I can gather, it is not possible to stream data created using signal logging of a virtual bus to an Input port of another model. Could you comment on this?

I would like to avoid the non-virtual bus stuff since it sounds too much hassle for a medium sized project and I want to keep my diagrams clean (i.e. just press play)</description>
		<content:encoded><![CDATA[<p>Seth,</p>
<p>As far as I can gather, it is not possible to stream data created using signal logging of a virtual bus to an Input port of another model. Could you comment on this?</p>
<p>I would like to avoid the non-virtual bus stuff since it sounds too much hassle for a medium sized project and I want to keep my diagrams clean (i.e. just press play)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
