User`s guide

12 Troubleshooting
12-10
Error executing build command: Error using ==> make_rtw
Error using ==> rtw_c
Errors encountered while building model "xpcosc"
with the following MATLAB Command Window error:
NMAKE: fatal error U1064: MAKEFILE not found and no target
specified
Stop.
To correct these errors,
1 Ensure that your compiler is properly installed. For example, all Microsoft
Visual compiler components must be in the Microsoft Visual Studio folder
after installation.
2 At the MATLAB prompt, type xpcexplr. For example,
xpcexplr
3 In the Select C compiler field, select the appropriate compiler type
(
VisualC or Watcom).
4 In the Compiler Path field, enter 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 Check the state of your target PC. If it is unresponsive, you might need to
reboot the target PC.
2 In the xPC Target Explorer, try to connect to the target PC again. Be sure to
also check the serial connection between the host PC and target PC.