EasySpin: Dot Indexing is not supported - where exactly is it taking place?

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

Does it give you a line number in the error? Also, is esfit a function you defined?
esfit is third party code
http://easyspin.org/easyspin/documentation/userguide_fitting.html
What is code for chili ?
Hello Sindar and hello Walter!
Thank you both for your help! Turned out the problem was a little more trivial than I've thought at first: I used a wrong comma and didn't realize it ...

Sign in to comment.

Answers (1)

Since EasySpin is a third-party product, we recommend reaching out the to EasySpin forum for any queries:

Asked:

on 9 Mar 2020

Answered:

on 29 Jan 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!