Bug
When you run saveFeatures like this:
opts.featureList = {'power', 'coherence', 'granger'};
saveFeatures('myTestFile.m', opts)
it fails with an error on line 112-113:
if any(ismember('power', options.featureList)) && ...
~strcmp(options.version.power, 'caus_saveFeatures_1.5')
because options.version is not a field.
Expected behavior
I think the options.version field should be filled automatically, maybe with a warning message, in fillDefaultOpts. This shouldn't be too bad to implement...