Page 1 of 1

usage of Options output

Posted: Tue Feb 20, 2024 10:09 am
by ja1220

Hi EasySpin team,
I am now working on the computational options output of solid-state spin simulation in MATLAB. When I follow the instructions on online sessions, the command window indicates the message "Options.obsolete is obsoleted. Use Options.separate instead". But when I follow it, the command window indicates "unrecognized variables". What shall I do to resolve this problem?
Following is my simple simulation code.

clear, clc
Sys.S = 1;
Sys.D = -[1000 130]; %MHz; if D is negative; spectrum inverted
Sys.lwpp = 1;

Exp.mwFreq = 10; %GHz
Exp.Range = [300 420]; % mT

Exp.Temperature = 1; %kelvin; thermal polarization is stronger in lower temperature
Exp.Harmonic = 0;

Opt.Output = 'separate';

pepper(Sys, Exp, Opt);


Re: usage of Options output

Posted: Tue Mar 26, 2024 10:38 pm
by Stefan Stoll

If you are using version 5.2.x, use Opt.Output = 'separate'. If you are using version 6, use Opt.separate = 'transitions';