I'm still new to using Spinach, and I have been following tutorials. My end goal is to use it for overtone NMR. When I try to run the overtone examples I keep getting errors:
Error using slowpass (line 140)
Matrix dimensions must agree.
Error in overtone_a (line 44)
spectrum=slowpass(spin_system,parameters,H,R,K);
Error in overtone_pa (line 82)
spectrum=overtone_a(spin_system,parameters,H,R,K);
Error in singlerot (line 218)
parfor (q=1:numel(weights),nworkers) %#ok<*PFBNS>
Error in mas_glycine_1 (line 69)
spectrum=singlerot(spin_system,@overtone_pa,parameters,'qnmr');
I have not made any modifications to the code.
Issue with overtone exemple
Re: Issue with overtone exemple
Mmmmm, that definitely should not happen. I'll take a look when I get to the office.
Re: Issue with overtone exemple
Not confirmed - stuff runs here. Which version of Matlab and Spinach is that, on which operating system?
Re: Issue with overtone exemple
I am using MATLAB R2024b and have the spinach-2.9.2 folder. I'm running it on Windows 10. I have set the path to kernel, etc., experiment, and interface. I also have all the toolboxes needed.
I have also tried other examples, some run, and some do not.
I have also tried other examples, some run, and some do not.
Re: Issue with overtone exemple
Not confirmed; I am running 2.9.2 in that config without problems.
Are you running Matlab's beta "new user interface" by any chance? That one is full of bugs, including path bugs.
Are you running Matlab's beta "new user interface" by any chance? That one is full of bugs, including path bugs.
Re: Issue with overtone exemple
No, I am not running the new user interface.
Re: Issue with overtone exemple
I am out of ideas; short of just running a zoom session and taking a look, there isn't much to try.
Re: Issue with overtone exemple
Would running a Zoom be okay?
Re: Issue with overtone exemple
Sure, email me a Zoom invite for any reasonable time on Saturday or Sunday. - IK
Re: Issue with overtone exemple
Resolved. Spinach was installed in a OneDrive folder and OneDrive's attempts at synchronising files were interfering with Spinach scratch folder operations. Once Spinach was moved to a different location on the disk, everything started working.