- Navigate to the first directory, and remove the BAT file mexopts.
- Try and run again mex -setup to select SDK 7.1 as compiler.
Why do I get several errors 'Unable to locate build tool' when validating my Toolchain with Microsoft Windows SDK 7.1 in R2017b?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 19 Jun. 2018
Bearbeitet: MathWorks Support Team
am 24 Mär. 2025
I have installed Microsoft Windows SDK 7.1 as a compiler.
However, when I validate the Toolchain in a Simulink model, or when I generate code from it, I get the following errors:
### Validating other build tools ...
Unable to locate build tool "Microsoft Visual C Compiler": cl
Unable to locate build tool "Microsoft Visual C Linker": link
Unable to locate build tool "Microsoft Visual C++ Compiler": cl
Unable to locate build tool "Microsoft Visual C++ Linker": link
Unable to locate build tool "Microsoft Visual C/C++ Archiver": lib
Unable to locate build tool "NMAKE Utility": nmake
Failed.
When setting the compiler with mex -setup, I get the following message:
Trying to update options file: <path>\mexopts.bat
From template: <path>\mssdk71opts.bat
Akzeptierte Antwort
MathWorks Support Team
am 24 Mär. 2025
Bearbeitet: MathWorks Support Team
am 24 Mär. 2025
To solve this issue please follow this workflow:
You should now be able to successfully validate the Toolchain and generate code from a Simulink model.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!