Skip to content

Running Blocks

Jack Loveless edited this page Jul 1, 2017 · 1 revision

To run Blocks, enter on the MATLAB command line:

Blocks('model.command')

where model.command is the name of your command file.

Blocks provides information about its progress, and the model run completes by writing output files to a new directory within the current working directory. Because of this, we recommend that you change to a results directory before running Blocks, such as that generated by blocksdirs.m. The first model run directory created is 0000000001/, followed by 0000000002, etc.

If you wish to modify a model option without generating a new command file, you can do so using a (parameter, value) pair when calling Blocks. For example, to use the segment file test2.segment rather than that listed in the command file, run Blocks using:

Blocks('model.command', 'segFileName', '../segment/test2.segment')

specifying the full or relative path to the alternative segment file. See the list of command file fields for more information on valid parameter options.

Clone this wiki locally