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

조회 수: 1 (최근 30일)
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
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개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by