<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183</link>
    <title>MATLAB Central Newsreader - C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
    <description>Feed for thread: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</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>Thu, 06 Mar 2008 10:17:03 -0500</pubDate>
      <title>C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419355</link>
      <author>Kevin </author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
I've been toying with the C2000 toolbox for a little while&lt;br&gt;
now, but I'm hitting a wall on this one.&lt;br&gt;
&lt;br&gt;
What I'm trying to do is a PID controler whose parameters&lt;br&gt;
can be changed by an external source or using a RTDX channel.&lt;br&gt;
In fact this problem might arise for every block whose&lt;br&gt;
parameters can't be specified from the outside.&lt;br&gt;
&lt;br&gt;
Now I could create the controler with basic Simulink blocks,&lt;br&gt;
but I want to use to more efficient PID-Controler from the&lt;br&gt;
DMC library. &lt;br&gt;
&lt;br&gt;
Since the C2000 doesn't have a workspace, I tried to use the&lt;br&gt;
&quot;Memory Copy&quot; block from the Link for Code Composer Library&lt;br&gt;
with no results since the parameters must come from the&lt;br&gt;
workspace.&lt;br&gt;
&lt;br&gt;
Is there a way to tell the block the the value of a&lt;br&gt;
parameters must be taken from memory and not from the workspace?</description>
    </item>
    <item>
      <pubDate>Thu, 06 Mar 2008 13:18:36 -0500</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419381</link>
      <author>Antonin Ancelle</author>
      <description>Hi Kevin,&lt;br&gt;
&lt;br&gt;
I am going to send you a direct email with a burst model of a PI controller &lt;br&gt;
where you can dynamically change the parameters.&lt;br&gt;
It has no D component, but you can easily add it if you have a need for it.&lt;br&gt;
It is more conventional than the TI version in the sense that the P &lt;br&gt;
component is not cascaded with the I.&lt;br&gt;
&lt;br&gt;
On the TI version if you put P = 0, the rest will be 0 regardless of what I &lt;br&gt;
or D component you have.&lt;br&gt;
&lt;br&gt;
I will let you play with it.&lt;br&gt;
&lt;br&gt;
Good luck,&lt;br&gt;
&lt;br&gt;
Antonin.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
news:fqogav$eol$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I've been toying with the C2000 toolbox for a little while&lt;br&gt;
&amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt; can be changed by an external source or using a RTDX channel.&lt;br&gt;
&amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Now I could create the controler with basic Simulink blocks,&lt;br&gt;
&amp;gt; but I want to use to more efficient PID-Controler from the&lt;br&gt;
&amp;gt; DMC library.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Since the C2000 doesn't have a workspace, I tried to use the&lt;br&gt;
&amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer Library&lt;br&gt;
&amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt; workspace.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt; parameters must be taken from memory and not from the workspace? </description>
    </item>
    <item>
      <pubDate>Thu, 06 Mar 2008 14:08:01 -0500</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419392</link>
      <author>Kevin </author>
      <description>Thank you very much! You're being very helpful&lt;br&gt;
&lt;br&gt;
But just for further developpements, is it possible to&lt;br&gt;
dynamically change block parameters on the DSP without&lt;br&gt;
creating custom blocks?&lt;br&gt;
&lt;br&gt;
&quot;Antonin Ancelle&quot; &amp;lt;antonin.ancelle@mathworks.com&amp;gt; wrote in&lt;br&gt;
message &amp;lt;fqoqve$498$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi Kevin,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am going to send you a direct email with a burst model&lt;br&gt;
of a PI controller &lt;br&gt;
&amp;gt; where you can dynamically change the parameters.&lt;br&gt;
&amp;gt; It has no D component, but you can easily add it if you&lt;br&gt;
have a need for it.&lt;br&gt;
&amp;gt; It is more conventional than the TI version in the sense&lt;br&gt;
that the P &lt;br&gt;
&amp;gt; component is not cascaded with the I.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; On the TI version if you put P = 0, the rest will be 0&lt;br&gt;
regardless of what I &lt;br&gt;
&amp;gt; or D component you have.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I will let you play with it.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Good luck,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Antonin.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; news:fqogav$eol$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; &amp;gt; Hello,&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I've been toying with the C2000 toolbox for a little while&lt;br&gt;
&amp;gt; &amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt; &amp;gt; can be changed by an external source or using a RTDX&lt;br&gt;
channel.&lt;br&gt;
&amp;gt; &amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt; &amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Now I could create the controler with basic Simulink blocks,&lt;br&gt;
&amp;gt; &amp;gt; but I want to use to more efficient PID-Controler from the&lt;br&gt;
&amp;gt; &amp;gt; DMC library.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Since the C2000 doesn't have a workspace, I tried to use the&lt;br&gt;
&amp;gt; &amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer Library&lt;br&gt;
&amp;gt; &amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt; &amp;gt; workspace.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt; &amp;gt; parameters must be taken from memory and not from the&lt;br&gt;
workspace? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Thu, 06 Mar 2008 16:06:51 -0500</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a </title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419419</link>
      <author>Praetorian</author>
      <description>On Mar 6, 7:08 am, &quot;Kevin &quot; &amp;lt;kedec...@mathworks.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Thank you very much! You're being very helpful&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; But just for further developpements, is it possible to&lt;br&gt;
&amp;gt; dynamically change block parameters on the DSP without&lt;br&gt;
&amp;gt; creating custom blocks?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &quot;Antonin Ancelle&quot; &amp;lt;antonin.ance...@mathworks.com&amp;gt; wrote in&lt;br&gt;
&amp;gt; message &amp;lt;fqoqve$49...@fred.mathworks.com&amp;gt;...&amp;gt; Hi Kevin,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I am going to send you a direct email with a burst model&lt;br&gt;
&amp;gt; of a PI controller&lt;br&gt;
&amp;gt; &amp;gt; where you can dynamically change the parameters.&lt;br&gt;
&amp;gt; &amp;gt; It has no D component, but you can easily add it if you&lt;br&gt;
&amp;gt; have a need for it.&lt;br&gt;
&amp;gt; &amp;gt; It is more conventional than the TI version in the sense&lt;br&gt;
&amp;gt; that the P&lt;br&gt;
&amp;gt; &amp;gt; component is not cascaded with the I.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; On the TI version if you put P = 0, the rest will be 0&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; regardless of what I&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; or D component you have.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I will let you play with it.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Good luck,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Antonin.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &quot;Kevin &quot; &amp;lt;kedec...@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;gt;news:fqogav$eol$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I've been toying with the C2000 toolbox for a little while&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; can be changed by an external source or using a RTDX&lt;br&gt;
&amp;gt; channel.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Now I could create the controler with basic Simulink blocks,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; but I want to use to more efficient PID-Controler from the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; DMC library.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Since the C2000 doesn't have a workspace, I tried to use the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer Library&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; workspace.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; parameters must be taken from memory and not from the&lt;br&gt;
&amp;gt; workspace?&lt;br&gt;
&lt;br&gt;
Hi Kevin,&lt;br&gt;
There is no direct way to do that. But in case of the TI C2000 library&lt;br&gt;
PID controller the workaround is quite simple since the block diagram&lt;br&gt;
of the PID is given on the help page for that block. Just use blocks&lt;br&gt;
from the IQmath library to re-create the PID, except you'd have input&lt;br&gt;
ports for all the parameters you want to change, and then From Memory&lt;br&gt;
blocks feeding those inputs.&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
Ashish.</description>
    </item>
    <item>
      <pubDate>Thu, 06 Mar 2008 17:06:24 -0500</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419442</link>
      <author>Antonin Ancelle</author>
      <description>There are multiple ways:&lt;br&gt;
&lt;br&gt;
Read about &quot;tunable parameters&quot; in the doc.&lt;br&gt;
Also looks for settings in the configset for &quot;parameters&quot;.&lt;br&gt;
You can assign the parameters struct to a volatile struct and therefore &lt;br&gt;
change the parameters.&lt;br&gt;
You can also replace a parameter variable to a known variable name.&lt;br&gt;
&lt;br&gt;
I tried to send you an email at &amp;lt;kedecuyp@mathworks.com&amp;gt; but this didn't &lt;br&gt;
work.&lt;br&gt;
Let me know if you want that PID model.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
Antonin.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
news:fqots1$jo5$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Thank you very much! You're being very helpful&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; But just for further developpements, is it possible to&lt;br&gt;
&amp;gt; dynamically change block parameters on the DSP without&lt;br&gt;
&amp;gt; creating custom blocks?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &quot;Antonin Ancelle&quot; &amp;lt;antonin.ancelle@mathworks.com&amp;gt; wrote in&lt;br&gt;
&amp;gt; message &amp;lt;fqoqve$498$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;&amp;gt; Hi Kevin,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I am going to send you a direct email with a burst model&lt;br&gt;
&amp;gt; of a PI controller&lt;br&gt;
&amp;gt;&amp;gt; where you can dynamically change the parameters.&lt;br&gt;
&amp;gt;&amp;gt; It has no D component, but you can easily add it if you&lt;br&gt;
&amp;gt; have a need for it.&lt;br&gt;
&amp;gt;&amp;gt; It is more conventional than the TI version in the sense&lt;br&gt;
&amp;gt; that the P&lt;br&gt;
&amp;gt;&amp;gt; component is not cascaded with the I.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On the TI version if you put P = 0, the rest will be 0&lt;br&gt;
&amp;gt; regardless of what I&lt;br&gt;
&amp;gt;&amp;gt; or D component you have.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I will let you play with it.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Good luck,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Antonin.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt;&amp;gt; news:fqogav$eol$1@fred.mathworks.com...&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Hello,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; I've been toying with the C2000 toolbox for a little while&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; can be changed by an external source or using a RTDX&lt;br&gt;
&amp;gt; channel.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Now I could create the controler with basic Simulink blocks,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; but I want to use to more efficient PID-Controler from the&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; DMC library.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Since the C2000 doesn't have a workspace, I tried to use the&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer Library&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; workspace.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; parameters must be taken from memory and not from the&lt;br&gt;
&amp;gt; workspace?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Thu, 06 Mar 2008 17:29:03 -0500</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#419452</link>
      <author>Kevin </author>
      <description>Could you try to send it at kedecuyp$ulb.ac.be (replacing $&lt;br&gt;
by @) ? Thanks in advance&lt;br&gt;
&lt;br&gt;
I will try your other suggestions tomorrow&lt;br&gt;
&lt;br&gt;
&quot;Antonin Ancelle&quot; &amp;lt;antonin.ancelle@mathworks.com&amp;gt; wrote in&lt;br&gt;
message &amp;lt;fqp8ah$cgh$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; There are multiple ways:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Read about &quot;tunable parameters&quot; in the doc.&lt;br&gt;
&amp;gt; Also looks for settings in the configset for &quot;parameters&quot;.&lt;br&gt;
&amp;gt; You can assign the parameters struct to a volatile struct&lt;br&gt;
and therefore &lt;br&gt;
&amp;gt; change the parameters.&lt;br&gt;
&amp;gt; You can also replace a parameter variable to a known&lt;br&gt;
variable name.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I tried to send you an email at &amp;lt;kedecuyp@mathworks.com&amp;gt;&lt;br&gt;
but this didn't &lt;br&gt;
&amp;gt; work.&lt;br&gt;
&amp;gt; Let me know if you want that PID model.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Antonin.&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 11:23:05 -0400</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#421262</link>
      <author>proph star</author>
      <description>&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fqogav$eol$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I've been toying with the C2000 toolbox for a little &lt;br&gt;
while&lt;br&gt;
&amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt; can be changed by an external source or using a RTDX &lt;br&gt;
channel.&lt;br&gt;
&amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Now I could create the controler with basic Simulink &lt;br&gt;
blocks,&lt;br&gt;
&amp;gt; but I want to use to more efficient PID-Controler from &lt;br&gt;
the&lt;br&gt;
&amp;gt; DMC library. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Since the C2000 doesn't have a workspace, I tried to use &lt;br&gt;
the&lt;br&gt;
&amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer &lt;br&gt;
Library&lt;br&gt;
&amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt; workspace.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt; parameters must be taken from memory and not from the &lt;br&gt;
workspace?</description>
    </item>
    <item>
      <pubDate>Mon, 17 Mar 2008 11:24:05 -0400</pubDate>
      <title>Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165183#421263</link>
      <author>proph star</author>
      <description>&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fqogav$eol$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I've been toying with the C2000 toolbox for a little &lt;br&gt;
while&lt;br&gt;
&amp;gt; now, but I'm hitting a wall on this one.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What I'm trying to do is a PID controler whose parameters&lt;br&gt;
&amp;gt; can be changed by an external source or using a RTDX &lt;br&gt;
channel.&lt;br&gt;
&amp;gt; In fact this problem might arise for every block whose&lt;br&gt;
&amp;gt; parameters can't be specified from the outside.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Now I could create the controler with basic Simulink &lt;br&gt;
blocks,&lt;br&gt;
&amp;gt; but I want to use to more efficient PID-Controler from &lt;br&gt;
the&lt;br&gt;
&amp;gt; DMC library. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Since the C2000 doesn't have a workspace, I tried to use &lt;br&gt;
the&lt;br&gt;
&amp;gt; &quot;Memory Copy&quot; block from the Link for Code Composer &lt;br&gt;
Library&lt;br&gt;
&amp;gt; with no results since the parameters must come from the&lt;br&gt;
&amp;gt; workspace.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Is there a way to tell the block the the value of a&lt;br&gt;
&amp;gt; parameters must be taken from memory and not from the &lt;br&gt;
workspace?</description>
    </item>
  </channel>
</rss>

