I created a start time and saved it. I want to include this variable in the end of the string, but what I'm doing is not working. Here is my current code:
startHW1=datetime('now');save HW1 startHW1disp(['I started HW1 on ', num2str(startHW1)]);
num2strstrings
startHW1=datetime('now');save HW1 startHW1disp(['I started HW1 on ', num2str(startHW1)]);
Best Answer