setPreferencesValue Set preferences value Calling Sequence setPreferencesValue(xpath, key_value [, doc]) Arguments xpath a string, represents the XPath request to get the node in the preferences file. key_value a 2xN matrix of strings, the key-values to set. doc a mlist typed XMLDoc, the XML document associated to the preference file. Description Set the values of the attributes in preferences file (SCIHOME+'/XConfiguration.xml'). Modifying incorrectly some preferences can alter Scilab's behaviour. When doc is specified, the values are searched in this document. It is useful when several requests need to be done to avoid to parse again and again the same configuration file. All valid XPath requests are possible. For example to write the XPath request to set proxy settings: Open the file SCIHOME+'/XConfiguration.xml' and gets the nodes names to access to the expected node: ... ... ]]> The path will be "/interface/web/body/proxy" (or to simplify "//web/body/proxy"). Examples See Also getPreferencesValue