In the hmri_calc_R2s, although the default method (OLS) does not make use of any specific toolboxes, the optional methods
{'nlls_ols','nlls_wls1','nlls_wls2','nlls_wls3'}
use the Optimization Toolbox in the call to lsqcurvefit. This causes confusion to user, creating a false test, when the tests are run and the user does not have the Optimization Toolbox.
This is a Hackathon-based PR:
In the
hmri_calc_R2s
, although the default method (OLS) does not make use of any specific toolboxes, theoptional
methods{'nlls_ols','nlls_wls1','nlls_wls2','nlls_wls3'}
use the Optimization Toolbox in the call to
lsqcurvefit
. This causes confusion to user, creating a false test, when the tests are run and the user does not have the Optimization Toolbox.