Path: news.mathworks.com!not-for-mail
From: "Matt Jardin" <mjardin@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Using custom code in the C2000 target
Date: Tue, 8 Jan 2008 09:11:00 -0500
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <fm009m$fgr$1@fred.mathworks.com>
References: <flvj21$41c$1@fred.mathworks.com>
Reply-To: "Matt Jardin" <mjardin@mathworks.com>
NNTP-Posting-Host: jardinm.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1199801462 15899 144.212.209.45 (8 Jan 2008 14:11:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 8 Jan 2008 14:11:02 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
Xref: news.mathworks.com comp.soft-sys.matlab:444867



Are you asking if you can integrate previously-written C-code with your new 
project? If so, you can do this using a variety of legacy code mechanisms. 
Start with Legacy Code Tool, which you can read about in the help doc:
>> doc legacy_code

"Kevin " <kedecuyp@mathworks.com> wrote in message 
news:flvj21$41c$1@fred.mathworks.com...
> Hello,
>
> I have to use the C2000 target for a project. I *think* I am
> getting used to the simpler blocks, but now I would like to
> re-use some code I wrote on CCS before. This code should be
> called on a timer interrupt.
> How exactly can I do it? I've read that you can do it in
> Real Time Workshop, but I am still new to all this I don't
> know if I can use both RTW and the C2000 target together. Is
> it possible?