Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bucanl_eeglab_extensions
vised_marks
Commits
1be1c259
Commit
1be1c259
authored
Mar 20, 2019
by
Mike Cichonski
Browse files
added warning messages to deprecated functions
parent
dd087817
Changes
4
Hide whitespace changes
Inline
Side-by-side
marks/measure_func/values2flags.m
View file @
1be1c259
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
;
...
...
marks/misc_func/mrgovlpnts.m
View file @
1be1c259
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
marks/misc_func/trimstd.m
View file @
1be1c259
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
vised/config_func/update_config.m
View file @
1be1c259
...
...
@@ -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
,
';'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment