Class: coder.make.ToolchainInfo
Package: coder.make
Validate toolchain
h.validate
h.validate('setup','cleanup')
[success, report]
= h.validate (___)
validates
the toolchain object and generates errors if any properties are incorrectly
defined.h
.validate
evaluates
the setup callbacks (h
.validate('setup'
,'cleanup'
)ShellSetup
and MATLABSetup
)
of the toolchain object before validation and evaluates the cleanup
callbacks (ShellCleanup
and MATLABCleanup
)
of the toolchain object after validation. The Configuration Parameters
dialog box executes this version of validate when validating the toolchain.
[
validates the toolchain
object, generates errors if any properties are incorrectly defined,
and returns optional output arguments.success
, report
]
= h
.validate (___)
If you validate a default toolchain before all the build tools
are specified, validate
notifies you of the build
tools that are not specified.
h = coder.make.ToolchainInfo; [success,report] = h.validate
success = 1 report = Toolchain Validation Result: Passed Validation report: ### Validation of build tool "C Compiler" Skipped. No "C Compiler" build tool is specified. ### Validation of build tool "C++ Compiler" Skipped. No "C++ Compiler" build tool is specified. ### Validation of build tool "Archiver" Skipped. No "Archiver" build tool is specified. ### Validation of build tool "Linker" Skipped. No "Linker" build tool is specified. ### Validation of build tool "Download" Skipped. No "Download" build tool is specified. ### Validation of build tool "Execute" Skipped. "Execute" build tool "$(PRODUCT)" cannot be validated. ### Validation of build tool "GMAKE Utility" Checking for existence of path: %MATLAB%\bin\win64 Passed. Checking for tool command: gmake Passed. ### Checking for undeclared macros ... Passed.
[success,report] = tc.validate
Error using ToolchainInfo.validate (line 270) Validation error(s): ### Validating other build tools ... Unable to locate build tool "Intel C Compiler": icl Unable to locate build tool "Intel C++ Compiler": icl Unable to locate build tool "Intel C/C++ Archiver": xilib Unable to locate build tool "Intel C/C++ Linker": xilink Unable to locate build tool "NMAKE Utility": nmake