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


atomsSaveConfig

Make a backup of the configuration file

Syntax

atomsSaveConfig()
atomsSaveConfig(force)

Arguments

force

force is a boolean. If set to %T (True), previously existing config.bak file in SCIHOME/.atoms will be erased. Default value is %F (False);

Examples

// Get original setting & save configuration
v = atomsGetConfig("offline")
atomsSaveConfig(%T);

// Overwrite setting
if v == "False" then
    atomsSetConfig("offline", "True");
else
    atomsSetConfig("offline", "False");
end
// Check setting has changed
atomsGetConfig("offline")

// Restore config & check that setting is back to original value
atomsRestoreConfig();
atomsGetConfig("offline")

See also

History

ВерсияОписание
5.4.0 Function added
Report an issue
<< atomsRestoreConfig ATOMS atomsSearch >>

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:
Thu May 22 12:55:33 CEST 2025