Open and close a job

版本 1.5.0.0 (4.6 KB) 作者: Miroslav Balda
The couple of functions frees user from a dull work on file handling.
1.7K 次下载
更新时间 2009/2/26

查看许可证

It is always good to have tools at disposal, which relieve work on building a program. Two parts of any program deserve a special attention, ie. the beginning and the end. It is important especially in cases, when it is necessary to handle data stored in a file, prosess it, create figures and make record on results, and at last to store them for documentation purposes. Two functions, openjob and closejob, which fulfill the task, are presented here.

The function >>openjob<< enables to browse tree of data files, find and pick a required data file for processing, start recording and return path and file name of a selected file.

The function >>closejob<< finishes the task. It closes diaring and, if required, saves it as a record from the data processing. Afterwards, it saves figures (if any) in selected multiple formats. Both records and figures are stored in required directories, which are created, if don't exist.

The set is complemented by the script testjob which shows how to use both functions.

In case of bugs, please, inform the author by e-mail.

引用格式

Miroslav Balda (2024). Open and close a job (https://www.mathworks.com/matlabcentral/fileexchange/22261-open-and-close-a-job), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.5.0.0

Replaced old file job.zip

1.3.0.0

openjob: Syntax has been extended.
closejob: Improved code in generating names of stored figures. Removed bug in trying to store a nonexisting figure.

1.2.0.0

Implemented a test on presence of the program gswin32c.exe on the system path, and slight changes in the function code and description.

1.1.0.0

Improved code of closejob, slight changes in testjob.m and description.

1.0.0.0