Connecting to xPC Target machine takes too long time

1 回表示 (過去 30 日間)
Süleyman
Süleyman 2011 年 6 月 25 日
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 件)

Arnaud Miege
Arnaud Miege 2011 年 6 月 28 日
HTH,
Arnaud

Süleyman
Süleyman 2011 年 6 月 28 日
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

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by