config = pwLoadConfigFromMatFile(filename) If no output argument is specified, the config is directly passed to the global PottersWheel configuration struct.