Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


with_module

Checks if a Scilab module is installed

Syntax

r = with_module(module_name)

Arguments

r

a boolean

module_name

a string, for example : 'core'

Description

Returns %t if a Scilab module module_name is installed or %f if not.

Examples

withXML = with_module("xml");
if withXML == %t then
   disp("XML module enabled");
else
   disp("XML module disabled");
end

See also

Report an issue
<< with_macros_source Configuration Debugging >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Mar 27 11:52:41 GMT 2023