File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11function out = pspm_cfg_run_pp_emg_data(job )
2- % Executes pspm_emg_pp
3-
2+ % * Description
3+ % Executes pspm_emg_pp
4+ % * History
5+ % Updated with PsPM 6.1.2 in 2024 by Teddy
46options = struct();
57options.mains_freq = job .options(1 ).mains_freq;
68options.channel_action = job .options(1 ).chan_action;
79if isfield(job .options(1 ).channel, ' cust_channel' )
8- options.channel = job .options(1 ).channel(1 ).cust_channel;
10+ options.channel = job .options(1 ).channel(1 ).cust_channel;
911elseif isfield(job .options(1 ).channel, ' first_channel' )
10- options.channel = job .options(1 ).channel(1 ).first_channel;
11- end ;
12-
12+ options.channel = job .options(1 ).channel(1 ).first_channel;
13+ end
1314[sts , output ] = pspm_emg_pp(job.datafile{1 }, options );
14-
1515if sts == 1
16- out = {output .channel };
16+ out = {output .channel };
1717else
18- out = {-1 };
19- end ;
18+ out = {-1 };
19+ end
You can’t perform that action at this time.
0 commit comments