Sorry for the late response. Since MATLAB is communicating serially, it cannot guarantee recording data at a specific time. If your application needs that feature, I think our Simulink support would be your best bet.
Feel free to reach out to me if you have follow-up questions but there are so many resources on Simulink for Arduino that you might not need my help
On MATLAB, I wonder if I can record data every 1 seconds on the live recording data code instead of using tic-toc function? I am very new using arduino software to record data. It's great help if I receive advice from you.