Particle tracking software error / "No appropriate method, property, or field 'addAll' for class 'msdanalyzer'."

13 views (last 30 days)
Here's the code:
ma = msdanalyzer(2,'um','s');
ma = ma.addAll(CorrectedTracks);
Here's the error message:
No appropriate method, property, or field 'addAll' for class 'msdanalyzer'.
Error in Particletracking (line 124)
ma = ma.addAll(CorrectedTracks);
I've been puzzling over this for some time but can't gain any intuition of what this error message is telling me through my own analysis or through the similar questions on the forum. Could someone please explain what this error message is trying to tell me?
Let me know if you need any additional code.
  1 Comment
Minhaz ur Rahman
Minhaz ur Rahman on 25 Mar 2020
Did you import the Tracks properly? You need to allow access of importTrackMateTracks from imageJ fiji plugin to MATLAB.I guess there is nothing stored in "Corrected Tracks". That's why you were getting this cerror message. you can recompute on the basis of any property defined in Corrected tracks.

Sign in to comment.

Accepted Answer

Ken Atwell
Ken Atwell on 23 Nov 2018
The error message telling you that there is nothing called addAll in the class msdanalyzer. I don't know anything about this class, but:
methods(ma)
properties(ma)
will tell you what is available.
If you downloaded this from https://www.mathworks.com/matlabcentral/fileexchange/40692-mean-square-displacement-analysis-of-particles-trajectories read the comments there, as others have had the same issue. Make sure you do not delete the "@" from the folder name. I downloaded the class and "addAll" is there:
Screen Shot 2018-11-23 at 4.30.29 PM.png

More Answers (0)

Categories

Find more on Programming 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!