Initializing help system before first use

Changing the Working Directory

By default, the working directory of the running Mosel model is the directory containing the source file. If the model reads any input files or writes any output files, they are read from or written to this directory.

Complete the following steps to change the working directory:
  1. Run the model by following the instructions above.
  2. Either wait for the model to finish executing or click the Stop button to interrupt it.
  3. When the model has finished executing, click the CWD button in the Output window.
  4. Choose the working directory for the model and click Select.
  5. Run the model again. This time it runs in the newly selected working directory.
    Note If the project contains a top-level directory named model_resources, the working directory is set to this directory by default. This makes the runtime environment for an Xpress Insight app similar to how it is when the app runs on an Xpress Insight server, when Xpress Insight copies the contents of the model_resources directory into the working directory.