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

Jan
Jan 2012년 7월 24일
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