Commit 1be1c259 authored by Mike Cichonski's avatar Mike Cichonski
Browse files

added warning messages to deprecated functions

parent dd087817
function [critrow,critcol,rowind,colind]=values2flags(EEG,inmeasure,flagdir,flagzcrit,critdir,critmethod,critvalue,chan_win_sd,varargin)
disp('WARNING: This function is DEPRECATED and not supported anymore. Use marks_array2flags.m instead.');
g=struct(varargin{:});
try g.trim; catch, g.trim=0; end;
......
function outPnts=mrgOvlPnts(inPnts)
disp('WARNING: This function is DEPRECATED and not supported anymore. USE AT YOUR OWN RISK!');
j=0;
for i=1:size(inPnts,1);
if inPnts(i,2)>0;
......@@ -19,4 +21,4 @@ for i=1:size(trmPnts,1);
end
end
\ No newline at end of file
function out=trimstd(data,percent)
disp('WARNING: This function is DEPRECATED and not supported anymore. Use ve_trimstd.m instead.');
if percent<1;
disp('multiplying percent input by 100...');
percent=percent*100;
......@@ -50,4 +52,4 @@ out=std(srtdata);
%
%end
\ No newline at end of file
......@@ -20,6 +20,7 @@
function update_config(config_name,option_string)
disp('WARNING: This function is DEPRECATED and not supported anymore. USE AT YOUR OWN RISK!');
eval(['global ,' config_struct,';']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment