User`s guide
15 Frequently Asked Questions
3 In the Select C compiler field, select the appropriate compiler type
(
VisualC or Watcom).
4 In the Compiler Path field, ente r the root path to the compiler. For
example,
d:\applications\microsoft visual studio
Do not add a terminating back slash (\) at the end of the path.
If you still have problems, and you see the following MATLAB Command
Window error:
ReadFile failed while reading from COM-port
1 Ch eck the state of your target PC. If it is unresponsive, y ou mig ht need to
reboot the target PC.
2 In the xPC Target Explorer, try to connect to the target PC again. B e sure
to also check the serial connection between the host PC and target PC.
xpctest: Test 5 Fails
This error occurs only when the environment variable settings are out of date.
To correct this, perform the following. See “xPC Target Boot Optio ns ” in the
xPC Target Getting Started Guide for instructions on how to work with boot
options.
1 At the MATLAB prompt, start xPC Target Explorer. For exam ple,
xpcexplr
2 Inspect the environment variables for the problem target PC .
3 If you have xPC Target Embedded Option installed, ensure that, in the
Configuration section, you have selected the Standalone tab.
4 Make necessary changes.
5 Select the tab for your boot mode. For ex ample, CD Boot.
15-16