Watch this Author's files
To resolve the error mentioned in 2nd reply, just use timetick without any input. Default is x axis. (credit: Scott Hirsch)
Contact us at files@mathworks.com