[Homer-users] Fwd: problems with hmrBandpassfit on HOMer2
David Boas
dboas at nmr.mgh.harvard.edu
Fri May 1 17:47:38 EDT 2015
Ted provided this solution that fixed the issue
> Begin forwarded message:
>
> From: "Huppert, Ted" <huppertt at upmc.edu>
> Subject: Re: [Homer-users] problems with hmrBandpassfit on HOMer2
> Date: May 1, 2015 at 2:37:21 PM EDT
> To: "DING, Xiaopan" <dingxiaopan at gmail.com>
> Cc: David Boas <dboas at nmr.mgh.harvard.edu>
>
> Xiaopan-
>
> Matlab is missing the file “eml_assert_all_constant”. It should be a built in function (part of the signals toolbox). However, this function appears to have been removed at Matlab version 7.1 and above. The new Matlab 2014a version of the butter.m function doesn’t actually call eml, which suggests that your matlab is actually calling an old version of the butter.m function. In a quick google search, it appears that a bunch of people have this issue and it seens to have been caused by an upgrade of matlab from an older version which left some of the old files in the path. You might also have two versions of matlab on your computer. You can test this by typing “which butter.m” into matlab and it should say something like:
>
>>> which butter
> /Applications/MATLAB_R2014b.app/toolbox/signal/signal/butter.m
>
> If I am right, its calling the butter.m from an older matlab version and the above command will point to a file in the older matlab folder. In that case, deleting the old version or removing it from the path using the path tool (type “pathtool” in matlab) should fix the issue.
>
>
> -Ted
>
> (PS- David, I thought this solution wasn’t applicable to the whole homer-users list, so I didn’t reply all, but you can repost if you wish).
>
>
> ----------------
> Theodore Huppert, PhD
> Associate Professor
> Departments of Radiology and Bioengineering
> Center for Neural Basis of Cognition
> University of Pittsburgh
> Email: huppertt at upmc.edu
> Phone: (412) 647-8459
>
>
>
> "Insanity: doing the same thing over and over and expecting different results"- Einstein
>
> From: <DING>, Xiaopan <dingxiaopan at gmail.com<mailto:dingxiaopan at gmail.com>>
> Reply-To: "homer-users at nmr.mgh.harvard.edu<mailto:homer-users at nmr.mgh.harvard.edu>" <homer-users at nmr.mgh.harvard.edu<mailto:homer-users at nmr.mgh.harvard.edu>>
> Date: Friday, May 1, 2015 at 1:51 PM
> To: "homer-users at nmr.mgh.harvard.edu<mailto:homer-users at nmr.mgh.harvard.edu>" <homer-users at nmr.mgh.harvard.edu<mailto:homer-users at nmr.mgh.harvard.edu>>
> Subject: [Homer-users] problems with hmrBandpassfit on HOMer2
>
> Dear all,
>
> When I put the hmrBandpassfit in the process stream and ran it, it always showed the error like the picture I attached (I am using matlab2014a).
>
> I tried several data files, but all the same. I just wondered that whether anyone met this problem before.
>
> Thanks for any suggestions.
>
> Xiaopan
>
> <cid:8A7C4DB0-1E19-4B92-8971-61E51A7AF0FD at wireless.utoronto.ca>PastedGraphic-2.tiff
>
>
> --
>
> Xiao Pan Ding Ph.D
>
> Postdoctoral researcher
>
> Dr. Eric Jackman Institute of Child Study, University of Toronto
>
> 45 Walmer Road, Toronto, Ontario, Canada M5R 2X2
>
> Email address: dingxiaopan at gmail.com<mailto:dingxiaopan at gmail.com>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20150501/3a474c02/attachment.html
More information about the Homer-users
mailing list