Path: news.mathworks.com!not-for-mail
From: "proph star" <ra_eng83@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: C2000 DSP and Simulink : using a memory-stored variable as a block parameter
Date: Mon, 17 Mar 2008 11:24:05 +0000 (UTC)
Organization: University
Lines: 31
Message-ID: <frlkcl$c1s$1@fred.mathworks.com>
References: <fqogav$eol$1@fred.mathworks.com>
Reply-To: "proph star" <ra_eng83@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205753045 12348 172.30.248.37 (17 Mar 2008 11:24:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 17 Mar 2008 11:24:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1170956
Xref: news.mathworks.com comp.soft-sys.matlab:457602



"Kevin " <kedecuyp@mathworks.com> wrote in message 
<fqogav$eol$1@fred.mathworks.com>...
> Hello,
> 
> I've been toying with the C2000 toolbox for a little 
while
> now, but I'm hitting a wall on this one.
> 
> What I'm trying to do is a PID controler whose parameters
> can be changed by an external source or using a RTDX 
channel.
> In fact this problem might arise for every block whose
> parameters can't be specified from the outside.
> 
> Now I could create the controler with basic Simulink 
blocks,
> but I want to use to more efficient PID-Controler from 
the
> DMC library. 
> 
> Since the C2000 doesn't have a workspace, I tried to use 
the
> "Memory Copy" block from the Link for Code Composer 
Library
> with no results since the parameters must come from the
> workspace.
> 
> Is there a way to tell the block the the value of a
> parameters must be taken from memory and not from the 
workspace?