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

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 个评论

This is a very general question. If you post what you have done so far, it would be easier to suggest improvements.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

产品

标签

提问:

Ken
2012-7-24

Community Treasure Hunt

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

Start Hunting!

Translated by