This function is run by runModel to clear off any files present in the output folder of a model. It should also be used by GUIs when running a model.

purgeOutput(projectPath, modelName)

Arguments

projectPath

The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.

modelName

The name of the model (possible values are "baseline", "analysis" and "report").