SimLabel: a GUI to simulate cw EPR from spin labeling

Programs, scripts and GUIs shared by EasySpin users
Maciej
Newbie
Posts: 4
Joined: Thu Mar 07, 2019 9:54 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Maciej »

MATLAB R2018b academic use, Windows 10.
It is my first time with SimLabel.
Maciej
Emilien
Resident User
Posts: 59
Joined: Mon Apr 20, 2015 12:13 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Emilien »

Ok, I've got the same configuration and no problem.
We can continue in private messages...
Emilien
Maciej
Newbie
Posts: 4
Joined: Thu Mar 07, 2019 9:54 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Maciej »

Unfortunately, I have no permission to write private messages yet. Not sure when I will be able to do so.

Here, I give some examples of errors:


1. After running SimLabel by writing 'simlabel' in command line, GUI appears, however with an error:

Error using ==
Matrix dimensions must agree.

Error in simlabel (line 328)
halltoolbar(halltoolbar==hzoomin)=[];%supprime 1 handle a conserver


2. After clicking 'load exp':

Error in simlabel/loadexpcllbck (line 642)
cd(path2keep);

Error while evaluating UIControl Callback.


3. When clicking 'add new component':

Error in simlabel/addcomponent (line 2165)
hfig=opencomponentwin; % ouverture d'une nouvelle fenetre de composante
SimLabel_X

Error while evaluating UIControl Callback.
Emilien
Resident User
Posts: 59
Joined: Mon Apr 20, 2015 12:13 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Emilien »

Dear Maciej,
thanks for using the March 2019 release of SimLabel, the only one able to run on Matlab 2018b.
Emilien
Maciej
Newbie
Posts: 4
Joined: Thu Mar 07, 2019 9:54 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Maciej »

Dear Emilien,
Is it possible to load multiple columns file into SimLabel? (for example when we perform an experiment with different microwave power)
Emilien
Resident User
Posts: 59
Joined: Mon Apr 20, 2015 12:13 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Emilien »

Dear Maciej,

If you mean ASCII files, please read a previous post from Klaus Gawrisch.
If you mean 2D experiments (Bruker files: DTA, DSC and YGF), it is not possible. SimLabel needs a 1D file, so you have to extract a 1D file (see the previous post mentioned above).
Regards,
Emilien
Alexander Shames
Newbie
Posts: 6
Joined: Sat Aug 17, 2019 2:29 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Alexander Shames »

Dear Emilien:

I am trying to use your perfect SimLabel (ver. 2017) software for some simulations of spectra in slow-motion regime. Unfortunately, after launching the program (OS Windows 10 Home, 64-bit operating system, 64-bit operating processor, MATLAB R2014b) and trying to simulate the spectrum, immediately after clicking on "+" I get the following error report

Error using matlab.ui.Figure/horzcat
Cannot convert double value NaN to a handle

Error in simlabel/addcomponent (line 2123)
place=find([componenth.hfig]==hfig); %indice de la composante consideree dans la structure des handles componenth

Error while evaluating UIControl Callback


Each attempt to enter values (g or A into the corresponding windows) causes the same errors (just line number change)


Please, advise what can I do to move further. I need these simulations ASAP. Thank you in advnce, sincerely
Alex
Emilien
Resident User
Posts: 59
Joined: Mon Apr 20, 2015 12:13 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Emilien »

Dear Alexander,
maybe you should first try the latest relase.
Tell me if the problem is not fixed.
Emilien
Alexander Shames
Newbie
Posts: 6
Joined: Sat Aug 17, 2019 2:29 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Alexander Shames »

Dear Emilien:

I have tried the latest version. Unfortunately, nothing changed. The same errors on trying "+"

Error using matlab.ui.Figure/horzcat
Cannot convert double value NaN to a handle

Error in simlabel/addcomponent (line 2169)
place=find([componenth.hfig]==hfig); %indice de la composante consideree dans la structure des handles componenth

Error while evaluating UIControl Callback

Error using matlab.ui.Figure/horzcat
Cannot convert double value NaN to a handle

Possibly, there is something bad in the path set. I put the folder SimLabel to Examples as independent folder
C:\Users\Alexander\Desktop\easyspin-5.2.25\easyspin-5.2.25\examples\SimLabel_Mar2019

I tried it launching from the "slowmotion" folder. With the same result. By the way, the same problem I have with the SimultSpin program. Same set of errors. All other EasySpin programs are working
as usual.

Best regards, Alex
Emilien
Resident User
Posts: 59
Joined: Mon Apr 20, 2015 12:13 am

Re: SimLabel: a GUI to simulate cw EPR from spin labeling

Post by Emilien »

Dear Alexander,
search the following lines in the simlabel.m

Code: Select all

if versionyear>2014
        hinit=gobjects; %handle=structure
else
        hinit=NaN; %handle=double
end
and replace the first line by

Code: Select all

if versionyear>=2014
And tell me.
Emilien
Post Reply