Connecting to xPC Target machine takes too long time

1 visualización (últimos 30 días)
Süleyman
Süleyman el 25 de Jun. de 2011
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

Respuestas (2)

Arnaud Miege
Arnaud Miege el 28 de Jun. de 2011
HTH,
Arnaud

Süleyman
Süleyman el 28 de Jun. de 2011
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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by