03-04-2024 03:29 AM
I created it like this, but I want to make it save a new text file every second. After that, I intend to load the results into MATLAB and plot the graph. How can I achieve this?
Solved! Go to Solution.
03-04-2024 04:08 AM
Just give a new name for every new file, something like this and append to base path by Build Path:
03-04-2024 07:27 AM
Thank you, sir!
Although it is functioning, there is an issue where only one file is being generated. How can I resolve this?
03-04-2024 07:33 AM - edited 03-04-2024 07:35 AM
If you probe the wire going to the file write loop i'll bet it only has 1 element. Also, if the outer loop spins you'll start from 0 each time overwriting it. Maybe you want to name if after the timestamp?
03-04-2024 07:49 AM
Thank you, sir
I just want to make file0, file1, 2, 3 every second.
So how can i make it?
03-04-2024 07:59 AM
Hi wnsl,
@wnsl7063 wrote:
I just want to make file0, file1, 2, 3 every second. So how can i make it?
Use the CreateFileWithIncrementingSuffix function to create unique filenames!