havecompiler

Detect if a C/C++ compiler is configured.

Syntax

  • [status, compiler] = havecompiler()

Output argument

  • status - a logical.

  • compiler - a string: 'msvc', 'mingw', 'unix' or ''.

Description

havecompiler detects if C/C++ compiler is configured for Nelson.

On Unix platforms (linux, MacOs), havecompiler returns always true as status and unix as compiler.

Example

[status, message] = havecompiler()

See also

configuremsvc, configuremingw.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated