Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Русский - 日本語
Ajuda do Scilab >> ATOMS > atomsIsLoaded

atomsIsLoaded

determines whether a module is loaded or not

Syntax

result = atomsIsLoaded(modules)

Arguments

modules

mx1, mx2 Matrix of strings:

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

mx1 boolean matrix

Description

atomsIsLoaded determines whether a module is loaded or not.

Examples

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

// Install toolbox_4, both 1.0 and 1.1 version
atomsInstall(["toolbox_4" "1.0"],"user");

// Load the version 1.0
atomsLoad(["toolbox_4" "1.0"]);

// Ignore the module's version
atomsIsLoaded("toolbox_4")

// With a specific version
atomsIsLoaded(["toolbox_4" "1.0"])

// Check several modules
atomsIsLoaded( ["toolbox_4" "1.0" ; "toolbox_4" "1.1" ; "toolbox_1" "1.0" ] )

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

See Also

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:34:59 CEST 2016