Skip to content

get_props

get_props returns the settings of the plugin again. It is the same struct as the one returned by init, except that bad_labels is not included.

function main(varargin)
anywave('init', varargin);
settings = anywave('get_props');
disp(settings.data_path);
end

Use it when you need the settings in a function that did not receive the args struct returned by init:

function path = current_data_path()
settings = anywave('get_props');
path = settings.data_path;
end