Saffron error

General forum for EasySpin: questions, how to's, etc.
Post Reply
thanasis
Local Expert
Posts: 260
Joined: Thu Jan 21, 2016 6:28 am
Location: Strasbourg

Saffron error

Post 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?
Stefan Stoll
EasySpin Creator
Posts: 1120
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Saffron error

Post 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.
thanasis
Local Expert
Posts: 260
Joined: Thu Jan 21, 2016 6:28 am
Location: Strasbourg

Re: Saffron error

Post by thanasis »

Yes, that did the trick (5.2.20 + compile).

Thanks Stefan!
Post Reply