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


atomsAutoloadAdd

Add one or several modules to autoload

Syntax

nbAdd = atomsAutoloadAdd(modules)
nbAdd = atomsAutoloadAdd(modules, section)

Arguments

modules

m x 1, m x 2 or m x 3 matrix of strings

1st Col. (Mandatory) 2nd Col. (Optional) 3rd Col. (Optional)
Technical Name Version: If this field is empty or is not present, the most recent version is used Installed section: If this field is empty or is not present, and modules is installed in both "user" and "allusers" sections, the section of autoload list is used.
section

This argument controls which autoload list is changed.

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

  • "allusers": modules are added to the "allusers" autoload list and all users of scilab are affected.

  • "user": modules are added to the "user" autoload list and only the current user is affected.

If SCI/contrib is write accessible, "allusers" is the default value. Otherwise, the default value is "user".

nbAdd

An integer : the number of modules successfully added.

Description

atomsAutoloadAdd adds one or several modules from the autoload system.

Examples

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

atomsSetConfig("autoloadAddAfterInstall","False");

atomsInstall("toolbox_5V6","user");
atomsAutoloadList()

atomsAutoloadAdd("toolbox_5V6","user");
atomsAutoloadList()

atomsAutoloadDel(["toolbox_5V6"]);
atomsAutoloadAdd(["toolbox_5V6" "1.0"],"user");
atomsAutoloadList()

atomsAutoloadDel("toolbox_5V6");
atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user");
atomsAutoloadList()

// Cleaning
atomsRemove("toolbox_5V6","user");
atomsSetConfig("autoloadAddAfterInstall","True");
atomsRepositoryDel(repository);
atomsSystemUpdate();

atomsAutoloadList()

See also

Report an issue
<< atomsAutoload ATOMS atomsAutoloadDel >>

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