Hello,
I have been having difficulty trying to export simulated EPR data from Matlab. When I use:
data = [B(:) spc(:)];
save('myfile.txt','data','-ascii');
or
eprsave('myfile',B,spc);
I receive an error message:
Undefined function or variable 'B'.
Any advice would be greatly appreciated. Thank you!
Exporting Simulated Data
-
- EasySpin Guru
- Posts: 155
- Joined: Tue Jul 22, 2014 11:01 am
- Location: Northwestern University
Re: Exporting Simulated Data
B correspond to the abscissa of the simulation, most of the simulation functions provide both the x axis and the y axis as outputs, presumably spc if the y axis, so just change whatever you have the x axis output into.
-
- Newbie
- Posts: 2
- Joined: Tue Jun 19, 2018 10:11 am
Re: Exporting Simulated Data
Got it! Thank you for the reply.