How to fix errors caused by: "Index exceeds the number of array elements (7) "

10 views (last 30 days)
Hi,
I am fairly new to MATLAB and am working on a research project where we must run a pre-determined set of sequences through our code to find possible glycopeptides. This code has worked in the past, but recently it has been returning errors, which I will attach below.
Below the error statements I will attach the "glycanFrag" code at the line before where the error is (starts at line 56). I assume the "glycanFrag" code is where the problem is, but I could be wrong so let me know your thoughts. If I need to attach more of the code or give more information, please let me know and I will ASAP as I really need to get this issue resolved.
Error using scoreAllSpectra_spmd (line 101)
Error detected on worker 4.
Error in batch (line 36)
calchit = scoreAllSpectra_spmd(pepfile, xmlfilepath, fragMode, MS1tol, MS1tolUnit, MS2tol, MS2tolUnit,
OutputDir, OutputCSV, maxlag, CutOffMed, FracMax, nmFrag, npFrag, ngFrag, selectPeak, false, mzXMLfilename);
%#ok<NASGU>
Caused by:
Error using glycanFrag (line 57)
Index exceeds the number of array elements (7).
while(openBrac~=closeBrac)
if (NewGlyPep(breakPt(j))=='{')
openBrac=openBrac+1;
end
if (NewGlyPep(breakPt(j))=='}')
closeBrac=closeBrac+1;
end
glyBion=[glyBion,NewGlyPep(breakPt(j))];
NewGlyPep(breakPt(j))='';
end

Answers (2)

Karan Kannoujiya
Karan Kannoujiya on 4 Jul 2022
Hi stephen,
This error is caused when user try to access that index in the array which does not exist for e.g
suppose you created a array 'x' having 4 element in this
x=[ 2 4 5 6];
so when you want first element of array you will just print x(1) and so on..
x(1)--->2
x(2)--->4
x(3)--->5
x(4)--->6
if you try to acces x(5) or any index greater than 5 then it will show the error(Index exceeds the no of array elements)
whatever the code you send it will be not possible to tell where actual error is. You can debug your code by putting the break point at the line where the actual error is showing.
I,m providing you the link where you can learn how to debug you matlab code

Image Analyst
Image Analyst on 4 Jul 2022
Is glycanFrag a variable, function, or separate m-file?
Set a breakpoint there before the error. When it stops, how many elements are in glycanFrag?
theSize = size(glycanFrag);
whos glycanFrag
I bet it's less than 7. Why? I don't know. I thought that in recent versions it told you the index you were trying to use, as well as the max index possible in the array.
Maybe try running it without using the Parallel Processing Toolbox.
  8 Comments
Stephen
Stephen on 6 Jul 2022
So I added it into the source code and it returned a very long output (attached below).
Name Size Bytes Class Attributes
protProd 1x1 1488 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
1
Worker 6:
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1600 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1604 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Worker 7:
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
5
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
6
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
7
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
8
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
9
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
5
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
6
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
7
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
8
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
9
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
10
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
11
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
12
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
13
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
14
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
15
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
16
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
17
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
18
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
19
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
20
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
21
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
22
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
23
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
24
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
25
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
26
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
27
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
28
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
29
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
30
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
31
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
32
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
33
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
34
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
35
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
36
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
5
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
6
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
7
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
8
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 9x1 72 double
i =
1
k =
9
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
5
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
6
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
7
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
8
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
9
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
10
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
11
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
12
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
13
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
14
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
15
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
16
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
17
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
18
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
19
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
20
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
21
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
22
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
23
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
24
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
25
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
26
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
27
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
28
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
29
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
30
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
31
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
32
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
33
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
34
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
35
Name Size Bytes Class Attributes
protProd 1x1 1828 struct
Name Size Bytes Class Attributes
modComb 36x2 576 double
i =
1
k =
36
Worker 8:
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1612 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1616 struct
Name Size Bytes Class Attributes
modComb 4x1 32 double
i =
1
k =
4
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1492 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x1 24 double
i =
1
k =
3
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
1
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
2
Name Size Bytes Class Attributes
protProd 1x1 1576 struct
Name Size Bytes Class Attributes
modComb 3x2 48 double
i =
1
k =
3
Stephen
Stephen on 6 Jul 2022
This error message was below the above output
Error using scoreAllSpectra_spmd
Error detected on worker 5.
Error in batch (line 36)
calchit = scoreAllSpectra_spmd(pepfile, xmlfilepath, fragMode, MS1tol, MS1tolUnit, MS2tol, MS2tolUnit, OutputDir, OutputCSV, maxlag, CutOffMed, FracMax, nmFrag, npFrag, ngFrag, selectPeak, false, mzXMLfilename);
Caused by:
Error using glycanFrag
Index exceeds the number of array elements. Index must not exceed 8.

Sign in to comment.

Categories

Find more on Entering Commands in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!