Page 1 of 1

Cryptic error message in new esfit

Posted: Wed Mar 01, 2023 11:40 am
by thanasis

I just started to dabble with the new esfit. I am trying to modify an existing script using an external function.

After the basic syntax changes were done, the fitting window pops up, the fitting intervals and options are recognized correctly, but when I launch the fit, I get an error message:

Code: Select all

Simulation function error
Interval bound arguments must be real and numeric.

The message is not very informative. Can anyone point me to the right direction?

Thanks!


Re: Cryptic error message in new esfit

Posted: Thu Mar 02, 2023 8:21 am
by thanasis

OK, problem corrected.

I just needed to correct rescale to rescaledata in the helper function!


Re: Cryptic error message in new esfit

Posted: Wed May 10, 2023 10:50 am
by Stefan Stoll

Glad you found the fix. MATLAB introduced a rescale function after EasySpin already had introduced a rescale function - resulting in name clashes and broken code. Unfortunately, the only fix for EasySpin was to rename the function to rescaledata.