pwSaveConfigToMFunction(config) Saves the configuration struct into a valid Matlab function. Can be reloaded with pwLoadConfigFromMFunction. If no config is specified, the current PottersWheel config is used.