Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> ATOMS > atomsUpdate

atomsUpdate

Update one or several external modules

Syntax

result = atomsUpdate()
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

Description

atomsUpdate update one or more external modules.

Examples

atomsSetConfig("Verbose","True");
atomsRepositoryAdd("http://scene1.test.atoms.scilab.org");

// Install toolbox_5
atomsInstall("toolbox_5");

disp(atomsGetInstalled());

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

atomsRepositoryDel("http://scene1.test.atoms.scilab.org");
atomsRepositoryAdd("http://scene2.test.atoms.scilab.org");

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

// Some cleaning
atomsRepositoryDel("http://scene2.test.atoms.scilab.org");
atomsRemove("toolbox_5");

See also

Report an issue
<< atomsTest ATOMS atomsVersion >>

Copyright (c) 2022-2024 (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 Feb 12 19:15:46 CET 2018