Page 1 of 1

Saffron error

Posted: Wed Oct 17, 2018 12:12 pm
by thanasis
I am taking my first steps with saffron and decided to try the examples on the ES documentation pages.

The thing is that whichever example I use (directly from the doc pages, e.g http://easyspin.org/easyspin/examples/p ... reepulse.m), I get the error:
Error using sf_peaks
Spec must be complex!

Error in saffron

Error in saffron
I am using ES5.2.19 with Matlab 2018a.

Is there something obvious I'm missing?

Re: Saffron error

Posted: Thu Oct 18, 2018 10:32 am
by Stefan Stoll
There were substantial changes to the way complex data is represented in Matlab 2018a.

Please remove all old ES versions, update to the latest ES version, and try again. If it still doesn't work, run easyspincompile in the command window.

Re: Saffron error

Posted: Thu Oct 18, 2018 11:13 am
by thanasis
Yes, that did the trick (5.2.20 + compile).

Thanks Stefan!