MATLAB: Current system time as a Timestamp

classdatatypefunctiontimestamp

Hey,
I want to get the current system time in microseconds and share this timestamp with other computer via UDP. How to do that. fprintf('This message is sent at time %f', time) Is something like above possible in matlab? Please help me with this.

Best Answer

Try
help now
for details on MATLAB's function now that returns the current time as a DateNum. You might also be interested in clock or cputime.