atomsIsLoaded
determines whether a module is loaded or not
Syntax
result = atomsIsLoaded(modules)
Arguments
- modules
m x 1, m x 2 matrix of strings
1st Col. (Mandatory) 2nd Col. (Optional) 3rd Col. (Optional) Technical name Version: if this field is empty or is not present, module's version is ignored. Section: if this field is empty or is not present, module's section is ignored. - result
m x 1 boolean matrix
Description
atomsIsLoaded
determines whether a module is loaded or not.
Examples
// Display some additional information atomsSetConfig("Verbose","True"); // Load the test repository exec("SCI/modules/atoms/tests/unit_tests/atomsTestUtils.sce", -1); repository = atomsCreateTestRepository("scene10"); // Install toolbox_4, both 1.0 and 1.1 version atomsInstall(["toolbox_4V6" "1.0"],"user"); // Load the version 1.0 atomsLoad(["toolbox_4V6" "1.0"]); // Ignore the module's version atomsIsLoaded("toolbox_4V6") // With a specific version atomsIsLoaded(["toolbox_4V6" "1.0"]) // Check several modules atomsIsLoaded( ["toolbox_4V6" "1.0" ; "toolbox_4V6" "1.1" ; "toolbox_1V6" "1.0" ] ) // Cleaning atomsRemove(["toolbox_1V6"; .. "toolbox_4V6"]); atomsRepositoryDel(repository); atomsSystemUpdate(); // Please restart Scilab to remove installed module
See also
- atomsLoad — Load one or several external modules
- atomsGetLoaded — Get the list of loaded external modules
Report an issue | ||
<< atomsIsInstalled | ATOMS | atomsList >> |