If you right-click on the cursor and select:
Edit Text Update Function
You can change both calls to NUM2STR from:
num2str(pos(2),4)
to
num2str(pos(2),8) % Or however many decimals...
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!