Hello, about "File read" & "Result save"

1 view (last 30 days)
Ken
Ken on 24 Jul 2012
Hello, about "File read" & "Result save"
First, now I have a program , I execute it by MATLAB and click (F5) to produce many figure and printf result on screen.
But when I have many file in foler, these file will increase as time go on, I want to automatically execute my program.
Following is an example:
I have many csv files in 'A folder' , I want to read these csv file (can according their latest Creation date or Modified date or Access date).
'01.csv' is the 2012/07/21 07:00 file in A folder, my program can read it, but when add '02.csv' file modified date is 2012/07/21 07:30 file, my program only read '02.csv'.
That is, I want to read the 'A folder' latest (Creation date or Modified date or Access date) csv file automatically.
And, in my program will produce many "figure" and "printf" result.
I want to save these figure to specify format(like bmp, jpg...),and all the printf sentence can be storage in the same txt file, automatically.
All the output .bmp or. jpg and txt file can storage to 'B folder',so how can I implement these function (read & save)?
When I pause or exit matlab, these action will stop.
This is important things in my program.
  1 Comment
Jan
Jan on 24 Jul 2012
This is a very general question. If you post what you have done so far, it would be easier to suggest improvements.

Sign in to comment.

Answers (0)

Categories

Find more on Data Import and Export in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!