MATLAB: XPC Target External error

MATLABxpc target

I used xPC Target External Mode
then, click the Model build or model connect, appeared this message
'Error: Executing the 'Get Time' command produced the following error:
Target PC1: Malformed Message'
'Error: Executing the 'Final Upload' command produced the following error:
Target PC1: Malformed Message'
'Error: Executing the Check data' command produced the following error:
Target PC1: Malformed Message'
and warnings in MATLAB command:
Warning: External Mode Open Protocol SetParam command failed with status 1
Warning: External Mode Open Protocol Signal Select command failed with status 1
what does this message mean?

Best Answer

1. Is the host target communication on a network shared by other devices? In that case the non xPC network traffic may be causing an interruption.
2. The default time the software waits for the application to be downloaded onto the target is 5 seconds. You may try increasing this to 30 or 60s. See instructions here: