Connecting to xPC Target machine takes too long time

Hi,
I have a model containing a communication block with serial ports (RS422) for xPC target. The other blocks are standard simulink blocks and I have three simple s-functions.
The compilation, downloading and connecting times were normal at the beginning. However, after a few days I started to have some problems with connecting to the target machine. It takes too long time to connect (7-8 minutes sometimes). I am trying to connect in external mode with TCP/IP. I did not add any new blocks to the model, just changed some parameters and modified the blocks.
Can somebody help about this?
Suleyman

답변 (2개)

Süleyman
Süleyman 2011년 6월 28일

0 개 추천

Arnaud,
Thank you for your advice. I searched about the problem in the internet and found not the same but similar problems. Finally, I decided to remove all the files and folders that Matlab created at the compilation time. Only the model and the c-files that s-functions in the model use left in the directory. Then I built model again and the problem was solved. Now, it takes 3-6 seconds to connect the target model via external mode again, it was about 7-8 minutes when the problem arose.
Suleyman

카테고리

도움말 센터File Exchange에서 System Configuration에 대해 자세히 알아보기

태그

질문:

2011년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by