Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2026.0.0 - Português


atomsIsInstalled

Determines whether the module is installed. Returns true if the module is installed, false otherwise.

Syntax

res = atomsIsInstalled(modules)
res = atomsIsInstalled(modules, section)

Arguments

modules

m x 1, m x 2 matrix of strings

1st Col. (Mandatory) 2nd Col. (Optional) 3rd Col. (Optional)
Technical name Version: if this field is empty or is not present, module's version is ignored. Section: if this field is empty or is not present, module's section is ignored.
section

This argument controls the list of searched modules.

section is a single-string and its value should be :

  • "all": atomsIsInstalled() searches external modules installed in both "user" and "allusers" sections.

  • "allusers": atomsIsInstalled() searches external modules installed in the "allusers" section.

  • "user": atomsIsInstalled() searches external modules installed in the "user" section.

The default value is "all".

res

a boolean: %T if the modules are installed, %f otherwise.

Description

atomsIsInstalled returns %t if module is installed, %f otherwise.

Examples

// Display some additional information
atomsSetConfig("Verbose","True");

// Load the test repository
exec("SCI/modules/atoms/tests/unit_tests/atomsTestUtils.sce", -1);
repository = atomsCreateTestRepository("scene10");

// Install the needed module for the purpose of the example
atomsInstall("toolbox_5V6","user");

// simplest way
atomsIsInstalled("toolbox_5V6");

// Check several modules ...
atomsIsInstalled(["toolbox_5V6" "toolbox_4V6"])

// ... with a specific version
atomsIsInstalled(["toolbox_5V6" "1.0" ; "toolbox_4V6" "1.0" ; "toolbox_V65" "1.1"])

// ... installed in a specific section
atomsIsInstalled(["toolbox_5V6" "1.0" ; "toolbox_4V6" "1.0" ; "toolbox_5V6" "1.1"],"user")
atomsIsInstalled(["toolbox_5V6" "1.0" ; "toolbox_4V6" "1.0" ; "toolbox_5V6" "1.1"],"allusers")

// Cleaning
atomsRemove(["toolbox_1V6"; ..
             "toolbox_2V6"; ..
             "toolbox_4V6"; ..
             "toolbox_5V6"]);
atomsRepositoryDel(repository);
atomsSystemUpdate();

// Please restart Scilab to remove installed module

See also

Report an issue
<< atomsInstall ATOMS atomsIsLoaded >>

Copyright (c) 2022-2025 (Dassault Systèmes S.E.)
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:
Thu Oct 16 09:15:47 CEST 2025