General forum for EasySpin: questions, how to's, etc.
thanasis
Local Expert
Posts: 260 Joined: Thu Jan 21, 2016 6:28 am
Location: Strasbourg
Post
by thanasis » Wed Oct 17, 2018 12:12 pm
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
Post
by Stefan Stoll » Thu Oct 18, 2018 10:32 am
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
Post
by thanasis » Thu Oct 18, 2018 11:13 am
Yes, that did the trick (5.2.20 + compile).
Thanks Stefan!