ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions | |
function | getFileName (in prefix) |
Return a scalar MATLAB string containing a file name based on the current date and time. More... | |
function getFileName | ( | in | prefix | ) |
Return a scalar MATLAB string containing a file name based on the current date and time.
This functionality is primarily used by the ParaMonte samplers to generate random output file base name for situations where the user does not specify a name.
[in] | prefix | : The input scalar MATLAB string, containing the desired prefix, e.g., ParaDRAM, ParaDISE, ParaNest, ... (optional, default = "" ) |
str
: The output scalar MATLAB string containing an output file name based on the current date and time.prefix
is replaced with the input prefix
name. YYYY
is replaced with the current Gregorian year. MM
is replaced with the current month of year. DD
is replaced with the current day of month. HH
is replaced with the current hour of day. MM
is replaced with the current minute of hour. SS
is replaced with the current second of minute. MMM
is replaced with the current millisecond of second.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.