Simulink PIL blocks.

I am using matlab R2011a , CCS v3.3 , c6713. I have kept a part of my simulink model inside one subsystem & converted it into a PIL block. Then I connected the PIL block inplace of the subsytem.. But when I run the model I am getting the following errors.
1) Error in 'notch/Subsystem2' while executing C MEX S-function 'Subsystem1_pbs', (mdlOutputs), at time 0.0.
2) An error occurred while calling into the SIL or PIL target connectivity implementation.
3) RunToHalt: Timed out waiting for CCS to confirm completion.
why am I getting these errors ???

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-4-19

0 个投票

Try increasing the "Maximum time allowed to complete IDE operation" on the IDE Link pane of the Configuration Parameters window?

4 个评论

NO ma'am I am still not getting the result.
Now I am getting the following errors :
1) Error in 'notch/Subsystem2' while executing C MEX S-function 'Subsystem1_pbs', (mdlOutputs), at time 0.0.
2) An error occurred while calling into the SIL or PIL target connectivity implementation.
3) RunToHalt: Timed out waiting for CCS to confirm completion.
why am I getting these errors ???
4)Error in 'uwbtf/Subsystem' while executing C MEX S-function 'Subsystem_pbs', (mdlTerminate), at time 0.0.
5) An error occurred while calling into the SIL or PIL target connectivity implementation.
6) RunToHalt: Timed out waiting for CCS to confirm completion.
How much did you increase the timeout by? Also, have you configured the target to use DSP/BIOS as OS? If yes, also try with "None" as OS.
I increased the time to 20,50,100,200. I was not using any OS . I have tried with DSP/BIOS but after the building of the project when I connected the PIL & run the model...Time starts from T = 0.00 & it goes on increasing but I am not getting any output.(It didnt show any error this time).
I was getting errors when I didnt use any OS. But when I changed the timeout, now its not giving any errors but I am nt getting any result evenif the model runs for a long time... ???
Hmm.. I don't know what you can do to get this working at this point. Please try contacting MathWorks Tech Support if you have a license that is on maintenance?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by