This test attempts to build and download the model
To determine the cause of failure, in the Diagnostics
Viewer and in the Command Window, review the error messages. You can
slrttestmdl and build and download it
Build Failed — Compiler not supported?
slrtgetCC, check that you are
using a supported compiler. Check that you can compile the blocks in the model
with the given compiler and compiler version.
If you did not explicitly specify a compiler by using
slrtsetCC, the build procedure
uses the compiler that you specified by using
If the MEX compiler is not a supported Microsoft®
Visual C++® compiler, the build procedure halts with an error.
Build Failed — Compiler path?
After installation, the Microsoft Visual C++ compiler components must be in the Microsoft Visual Studio® folder. If you do not install the compiler at the required location, you can get one of the following errors:
Error executing build command: Error using ==> make_rtw Error using ==> rtw_c (SetupForVisual) Invalid DEVSTUDIO path specified
Error executing build command: Error using ==> make_rtw Error using ==> rtw_c Errors encountered while building model "slrttestmdl"
along with this error:
NMAKE: fatal error U1064: MAKEFILE not found and no target specified Stop.
Check your compiler setup. In the Command Window, type:
slrtsetCC ('VisualC','') mex -setup