>> You should also enforce the axes by calling: >> text(..., 'Parent', axesHandle)
However, if I add this line to the Start() function:
text(0.3,0.6,'Task # = 1', 'Parent', axesHandle);
... it causes the "Task # = 1" line to be overwritten over itself, so that every character becomes dark by the final iteration, which is not what I want. If there is no important reason why the above line *needs* to be included, I would prefer to omit it...
if(iteration == endCondition) delete(taskNumHandle); end
... the code won't even run, and returns the errors:
~ Error evaluating registered method 'Update'...
~ Invalid parameter/value pair arguments
I don't understand why this code would run without problems within the Start() function, but then cause an error within Update()... I commented-out the 2nd part of the code above, and it still returns the same errors.
Any ideas about what might be wrong? Thanks for your help.