Path: news.mathworks.com!not-for-mail
From: "Antonin Ancelle" <antonin.ancelle@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Error building a PIL block for C2000
Date: Thu, 6 Mar 2008 14:00:22 +0100
Organization: The MathWorks, Inc.
Lines: 49
Message-ID: <fqopt8$srb$1@fred.mathworks.com>
References: <fos94a$ndu$1@fred.mathworks.com> <fqjn8j$rj1$1@fred.mathworks.com> <fqmgiu$aqm$1@fred.mathworks.com>
NNTP-Posting-Host: fr-ancellea.mathworks.fr
X-Trace: fred.mathworks.com 1204808424 29547 172.16.45.248 (6 Mar 2008 13:00:24 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 6 Mar 2008 13:00:24 +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:455715



Yes, multiple input is fine, even from different rate groups as long as all 
the rates inside the subsystem are present on the in/output ports.

You probably need to build you PIL block.
Double click on the block and click "build" and then "download".

You can automate this if you go in the configset (Ctrl+E), under "Link for 
CCS", below the "Configure model to build PIL algorithm object code" 
checkbox, select PIL block action to be:
"Create_PIL_block_build_and_download" instead of the default "none".

I would always use this option while using PIL, this was changed to the 
default setting in R2007b.
After the PIL block is created, it will build the PIL application, scale the 
block to its original size and attach the correct amount of in/outputs.

I hope it helps,
Good luck!

Antonin.

"Kevin " <kedecuyp@mathworks.com> wrote in message 
news:fqmgiu$aqm$1@fred.mathworks.com...
> Thank you for your answers, it really helped!
>
> By the way, do you know if it is possible to create a PIL
> block with more than one input? When I compile a subsystem
> with multiple inputs, it only show the first one on the
> compiled block
>
> "Antonin Ancelle" <antonin.ancelle@mathworks.com> wrote in
> message <fqjn8j$rj1$1@fred.mathworks.com>...
>> Hi Kevin,
>>
>> This is a reported bug in the Embedded IDE Link CC (aka
> Link for CCS).
>>
>>
> http://www.mathworks.com/support/bugreports/details.html?rp=362908
>>
>> There is a patch that you can download to fix the problem.
>>
>> I hope it helps,
>>
>> Antonin.
>>
>