Skip to content

Commit d84de43

Browse files
committed
Fix bug with not finding animate method from teach method
1 parent ad76c07 commit d84de43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ETS2.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,6 @@ function plot(ets, qq, varargin)
526526
ets.animate(qq);
527527
end
528528

529-
end
530-
531-
methods (Access=private)
532-
533529
function animate(ets, qq)
534530
handles = findobj('Tag', 'ETS2');
535531
h = handles.UserData;
@@ -575,6 +571,11 @@ function animate(ets, qq)
575571
end
576572
end
577573

574+
575+
end
576+
577+
methods (Access=private)
578+
578579
function h_ = draw_ets(ets, q, opt)
579580

580581
clf
@@ -713,7 +714,6 @@ function animate(ets, qq)
713714
set(group, 'UserData', h);
714715
end
715716

716-
end
717+
end
717718

718-
719719
end

0 commit comments

Comments
 (0)