Path: news.mathworks.com!not-for-mail
From: "Kevin " <kedecuyp@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: C2000 DSP and Simulink : using a memory-stored variable as a block parameter
Date: Thu, 6 Mar 2008 10:17:03 +0000 (UTC)
Organization: Universite libre de Bruxelles
Lines: 21
Message-ID: <fqogav$eol$1@fred.mathworks.com>
Reply-To: "Kevin " <kedecuyp@mathworks.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1204798623 15125 172.30.248.35 (6 Mar 2008 10:17:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 6 Mar 2008 10:17:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1210415
Xref: news.mathworks.com comp.soft-sys.matlab:455692



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?