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)
Show older comments
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Development Computer Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!