Error in EPR load
Error in EPR load
Hi,
I recently installed Matlab R2015b. When I tried to load a bruker file the following message came up.
I am not sure what bufSize is. Can anyone help please?
>> [B59d,spc59d] = eprload('kk759d_wide');
Error using textscan
'BufSize' is no longer required and has been
removed.
Error in eprload
Error in eprload
Error in eprload
I recently installed Matlab R2015b. When I tried to load a bruker file the following message came up.
I am not sure what bufSize is. Can anyone help please?
>> [B59d,spc59d] = eprload('kk759d_wide');
Error using textscan
'BufSize' is no longer required and has been
removed.
Error in eprload
Error in eprload
Error in eprload
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Error in EPR load
Check whether you have the latest version of EasySpin. This used to be a bug, but was fixed in 5.0.8.
Re: Error in EPR load
That was it!
Thank you.
Thank you.
Re: Error in EPR load
I have Matlab 2015b and EasySpin 5.0.22, error for multiple files of Xenon and Xepr origin is:
Error using textscan
'BufSize' is no longer required and has been removed.
Error in eprload
Error in eprload
Error in plot_ENDORxy (line 10)
[b,a,par] = eprload('AUTOSAVE0000.DTA');
This started spontaneously after some weeks/months with the Matlab EasySpin combo above. I'm using a pre-textscan eprload for now.
Error using textscan
'BufSize' is no longer required and has been removed.
Error in eprload
Error in eprload
Error in plot_ENDORxy (line 10)
[b,a,par] = eprload('AUTOSAVE0000.DTA');
This started spontaneously after some weeks/months with the Matlab EasySpin combo above. I'm using a pre-textscan eprload for now.
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Error in EPR load
This should not appear anymore in 5.0.22 with R2015b. Here is the corresponding code from
Please post a file so we can test this (again).
eprload
:
Code: Select all
MatlabVersion = sscanf(version,'%f',1);
if MatlabVersion<8.6 % prior to R2015b
warning('off','MATLAB:textscan:BufSizeDeprecation');
allLines = textscan(fh,'%s','whitespace','','delimiter','\n','bufsize',500000); %#ok<BUFSIZE>
else
allLines = textscan(fh,'%s','whitespace','','delimiter','\n');
end
Re: Error in EPR load
>> version
ans =
8.6.0.267246 (R2015b)
>> easyspininfo
==================================================================
Release: 5.0.22 (2016-05-17)
Expiry date: 30-Jun-2017
Folder: [ ... ]
MATLAB version: 8.6.0.267246 (R2015b)
Platform: Microsoft Windows [Version 6.1.7601]
mex-files: mexw64, ok
System date: 16-Jul-2016 21:39:01
Temp dir: [ ... ]
==================================================================
ans =
8.6.0.267246 (R2015b)
>> easyspininfo
==================================================================
Release: 5.0.22 (2016-05-17)
Expiry date: 30-Jun-2017
Folder: [ ... ]
MATLAB version: 8.6.0.267246 (R2015b)
Platform: Microsoft Windows [Version 6.1.7601]
mex-files: mexw64, ok
System date: 16-Jul-2016 21:39:01
Temp dir: [ ... ]
==================================================================
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Error in EPR load
Please post DTA and DSC files that generate this error, so we can look into it.
Re: Error in EPR load
Sorry I missed the following error messages that appeared previously. The file attachment appears like it might work this time.
The extension dsc is not allowed. The extension des is not allowed. The extension txt is not allowed. rename extension to DSC
The extension dta is not allowed. The extension dat is not allowed. rename the extension to DTA
The extension dsc is not allowed. The extension des is not allowed. The extension txt is not allowed. rename extension to DSC
The extension dta is not allowed. The extension dat is not allowed. rename the extension to DTA
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Error in EPR load
Thanks. I cannot reproduce this problem. The file loads cleanly with R2015b and 5.0.22 on my Win10 computer. Can you check whether the correct functions are being called? Use
Code: Select all
which eprload -all
which textscan -all
Re: Error in EPR load
That's it! Sorry I thought I had checked that previously by paring the path down to just EasySpin, but apparently not. Many thanks. -Will
...\Documents\MATLAB\UserCommunity\BrittLab\eprload.p
...\Documents\MATLAB\UserCommunity\BrittLab\eprload.p