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


atomsUpdate

Update one or several external modules

Syntax

result = atomsUpdate()
result = atomsUpdate(name)
result = atomsUpdate(name, section)

Arguments

name

1xn character string matrix : module's technical name

section

This argument controls the list of sections where search modules to update.

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

  • "all": Modules to remove are searched in both "user" and "allusers" sections.

  • "allusers": Modules to remove are only searched in the "allusers" section.

  • "user": Modules to remove are only searched in the "user" section.

If SCI is write accessible, "all" is the default value. Otherwise, the default value is "user".

result

matrix containing the updated toolboxes:

1st Col. 2nd Col. 3rd Col. 4th Col. 5th Col.
Technical name Version Installation section: this parameter determines whether the module has been installed for all users or only for the current user. Installation path Status: "I" stands for "Intentionally", "A" stands for "Automatically"

Description

atomsUpdate updates one or more external modules.

Examples

atomsSetConfig("Verbose","True");

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

// Install toolbox_5V6
atomsInstall("toolbox_5V6");

disp(atomsGetInstalled());

// Load the 2nd scenario in which toolbox_4V6 has been updated:
// toolbox_4V6 version 1.1 has been added
// (toolbox_4V6 is a dependency of toolbox_5V6)

atomsRepositoryDel(repository);
repository = atomsCreateTestRepository("scene11");

// Update toolbox_5V6
atomsUpdate("toolbox_5V6");
disp(atomsGetInstalled());

// Cleaning
atomsRepositoryDel(repository);
atomsRemove("toolbox_5V6");

See also

Report an issue
<< atomsTest ATOMS atomsVersion >>

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:02:45 CEST 2025