usage of Options output

A place to report and discuss potential bugs
Post Reply
ja1220
Newbie
Posts: 1
Joined: Tue Feb 20, 2024 9:58 am

usage of Options output

Post 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);

Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: usage of Options output

Post 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';

Post Reply