Why do I get the error "Error using ==> make_rtw" when building the XPCOSC demo model for XPC Target version 1.2 (R12.1)?

4 views (last 30 days)
Why do I get the following error when trying to build the XPCOSC demo model for XPC Target version 1.2 (R12.1)?
Error executing build command: Error using ==> make_rtw
Error using ==> rtw_c (SetupForVisual)
Microsoft Visual C/C++, Version 4.2 is not supported please upgrade your Visual installation
But we are not using MSVC 4.2; we are using MSVC 6.0. Why is this error occuring?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
These errors are usually due to a configuration problem. Please try resetting the compiler path with the following instructions:
1. Type "xpcsetup" at the MATLAB prompt.
2. Set the compiler path correctly in the "compiler path" box.
3. Click "update".

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!