Contents
monkeyproof.cc4m.createConfigurationFile
Create a configuration file.
Syntax
[isOk, newName, folderName] = monkeyproof.cc4m.createConfigurationFile(file) [isOk, newName, folderName] = monkeyproof.cc4m.createConfigurationFile(file, makeActive)
Inputs
file: % Filename of new configuration - location and extension are not needed / ignored. makeActive: % True (default) if the created configuration file is to be made activate.
Outputs
isOk: % True in case the configfile is created. newName: % In case of success, the name of the file created (which might deviate from the provided name). % "newName" includes the file extension '.xml'. % In case "isOk" is false, newName contains the error message. folderName: % Folder in which the configuration file is created.
Description
All available checks are added to a configuration file with the provided name. The file is created in the folder where all configurations are stored (monkeyproof.cc4m.getConfigurationFolder). In case the filename already exists, a similar name is created and used (existing files are not overwritten)
See also: