function timer_update(myTimer, ~, lastSeq)

seq = myTimer.UserData;
fprintf(1, '%2.0f | Hello world!\n', seq);
if seq == lastSeq
   stop(myTimer);
end
myTimer.UserData = seq + 1;
