Why am I unable to see data in the host scope when I use the xPC Embedded Option 2.0 (R13)?

4 views (last 30 days)
I am trying to create a standalone executable for my target, using the xPC Target Embedded Option 2.0 (R13). I generated code for my Simulink model and the boot files, and then copy these files to the target in order to boot the target. The target issues a message saying the code is running. However, I do not see any data being sent back to the host, even though I use target scopes in my model.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in the xPC Target Embedded Option 2.0 (R13). This occurs when any standalone application that has two or more xPC target Scopes set to be the "Target" and the communication set to be RS-232. The application halts after initialization, and the model never gets executed.
In order to work around this bug, please try one of the following suggestions:
1. Open the xPC Target scope dialog box. Set the Scope Type to 'Host' instead of 'Target'.
OR
2. Switch to TCP/IP communication instead of RS-232.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!