eaertbel/IPSA — Issue #42: Bug in parameters_emg_<musclename>.m, Rev 12865
Author: u0078867
Created: 2011-12-08 12:34:36+00:00
State: open
Labels: Minor Bug, MJ

Last modification of these function to fit with old Leen data seems to struggle with
current data. The error is caused by this code:

if ~exist(th_up, 'var')
th_up = -1;
end
if ~exist(th_down, 'var')
th_down = -1;
end

Both th_up and th_down are not strings containing the name of variables
but numeric values (i.e. -9999). Since I don't know the old data format by Leen,
the only thing that I can do is to comment this part of code in my working copy.
Did you tested it with current data format?

Davide