]> Import configuration file

Import Configuration File

The general configuration file format is too complicated to be parsed from within Matlab, so there is a separate utility, cfg2inp that comes with tMCimg for repacking the configuration files into an easier to parse format. MCConfig() parses a .inp file and returns the results in a single structure.

Function Summary

Syntax: mc = MCConfig(filename);
Inputs: filename Name of the ".inp" file to read (without .inp extension)
Outputs: mc Structure with the different configuration parameters read out of the .inp file