IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
find_filename.m File Reference

Detailed Description

Finds a name for a new file.

File name is composed as

name = [prefix sprintf('_%04d', i) suffix '.' extension];
Parameters
prefix
suffix
extension
flag_return_ext=1. If 0, will return the file name only, leaving to the called the job to complete with the extension

Definition in file find_filename.m.

Go to the source code of this file.

Functions

function find_filename (in prefix, in suffix, in extension, in flag_return_ext)
 

Function Documentation

function find_filename ( in  prefix,
in  suffix,
in  extension,
in  flag_return_ext 
)