function [x,err,Allopt]=MultitaskRCD_both(methtype,strcInput,lambda)

if(methtype==1)
[x,err,Allopt]=MultitasksgLRCD_General(strcInput,lambda);
end
if(methtype==2)
[x,err,Allopt]=MultitaskgridgeRCD_General(strcInput,lambda);
end