Can't run scripts; get dialogue box "MATLAB cannot run this file because C:\...er\D​ownloads\M​athWorks\R​2017b\scri​ptname.m shadows it in the MATLAB path" Adding or changing path doesn't work. Get Unexpected MatLab operator error. Please help.

1 view (last 30 days)
startpoint =1;
limit = 6317;
tag=9961;
counter=0;
marker=1;
while counter<limit
counter=counter+1;
if startpoint<tag & isequal(killeenH(startpoint,1),state(counter,1))
a=table2array(killeenH(startpoint,1));
b=table2array(killeenH(startpoint,2));
c=table2array(killeenH(startpoint,3));
d=table2array(killeenH(startpoint,4));
e=table2array(killeenH(startpoint,5));
f=table2array(killeenH(startpoint,6));
g=table2array(killeenH(startpoint,7));
h=table2array(state(counter,1));
x=table2array(state(counter,2)); \
j=table2array(state(counter,3));
k=table2array(state(counter,4));
l=table2array(state(counter,5));
m=table2array(state(counter,6));
n=table2array(state(counter,7));
newlist(marker,1)=table(a);
newlist(marker,2)=table(b);
newlist(marker,3)=table(c);
newlist(marker,4)=table(d);
newlist(marker,5)=table(e);
newlist(marker,6)=table(f);
newlist(marker,7)=table(g);
newlist(marker,8)=table(h);
newlist(marker,9)=table(i);
newlist(marker,10)=table(j);
newlist(marker,11)=table(k);
newlist(marker,12)=table(l);
newlist(marker,13)=table(m);
newlist(marker,14)=table(n);
state(counter,:)=[];
startpoint=startpoint+1;
marker=marker+1;
printchecker=marker
if startpoint<tag
counter=0;
limit=limit-1;
end
end
startpoint
limit
if counter>limit-2
counter=0;
startpoint=startpoint+1;
end
if startpoint>=tag
counter=limit;
end
end

Answers (0)

Categories

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