EasySpin: Dot Indexing is not supported - where exactly is it taking place?
Show older comments
Hey :)
I'm currently trying to simulate an EPR-spectrum for my undergrad thesis using easyspin on MatLab. However, today I ran into an error I couldn't solve so far (neither by easyspin's documentation nor its forum) - maybe someone on here might help.
Whenver I try to load my algorithm into MatLab, I get the following error message:
Unable to perform assignment because dot indexing is not
supported for variables of this type.
Error in esfit
My esfit-code is as follows:
esfit(@chili,spc,{Sys1,Sys2},{Vary1,Vary2},{Exp1,Exp2});
I'm still a beginner with MatLab so first of all: Where exactly is MatLab most likely trying to perform 'dot indexing' in that code?
Indeed, because I'm trying to simulate/superimpose two weighted spectra, I'm using dots to seperate and classify systems however, that is found a couple paragraphs above said code ...
I'm grateful for any help or references :)
Thank you and take care!
3 Comments
Sindar
on 9 Mar 2020
Does it give you a line number in the error? Also, is esfit a function you defined?
Walter Roberson
on 9 Mar 2020
esfit is third party code
http://easyspin.org/easyspin/documentation/userguide_fitting.html
What is code for chili ?
Kay Julian Richter
on 11 Mar 2020
Answers (1)
Stefanie Schwarz
on 29 Jan 2026
0 votes
Since EasySpin is a third-party product, we recommend reaching out the to EasySpin forum for any queries:
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!