Generate a matrix from a .ini file. Configuration is expected to be in a ``[matrix]`` section.

def from_string(string, section='matrix'):
    """
    Generate a matrix from a .ini file. Configuration is expected to be in a ``[matrix]`` section.
    """
    config = parse_config(StringIO(string), section=section)
    return from_config(config)