Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


atomsRepositoryAdd

Add one or several URLs to the list of managed repositories

Syntax

nbAdd = atomsRepositoryAdd(url)
nbAdd = atomsRepositoryAdd(url, section)

Arguments

url

Matrix of strings : list of the URLs to add

section

This argument controls where the repository is added.

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

  • "allusers": the repository is added to the "allusers" list and all user of scilab are affected.

  • "user": the repository is added to the "user" 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 repositories successfully added.

Description

Examples

atomsRepositoryList()
atomsRepositoryAdd(["https://scene1.test.atoms.scilab.org"])
atomsRepositoryList()

See also

Report an issue
<< atomsRemove ATOMS atomsRepositoryDel >>

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 Jun 17 17:55:12 CEST 2024