Класс: coder.make.ToolchainInfo
Пакет: coder.make
Проверка цепочки инструментов
h.validate
h.validate('setup','cleanup')
[success, report] = h.validate (___)
проверяет объект цепочки инструментов и генерирует ошибки, если какие-либо свойства определены неправильно.h.validate
оценивает обратные вызовы установки (h.validate('setup','cleanup')ShellSetup и MATLABSetup) объекта цепочки инструментов перед проверкой и оценивает обратные вызовы очистки (ShellCleanup и MATLABCleanup) объекта цепочки инструментов после проверки. Эта версия проверки выполняется в диалоговом окне «Параметры конфигурации» при проверке цепочки инструментов.
[ проверяет объект цепочки инструментов, генерирует ошибки, если какие-либо свойства определены неправильно, и возвращает необязательные выходные аргументы.success, report] = h.validate (___)
При проверке последовательности инструментов по умолчанию перед заданием всех инструментов сборки validate уведомляет о неустановленных инструментах сборки.
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