2%> Return a scalar MATLAB
string containing the ParaMonte MATLAB library
banner.
5%> ``str`` : The output scalar MATLAB
string containing the ParaMonte MATLAB library
banner.
10%> str = pm.lib.banner();
15%> \include{lineno} example/
lib/
banner/main.m
17%> \include{lineno} example/
lib/
banner/main.out.m
22%> \JoshuaOsborne, May 21 2024, 8:01 PM, University of Texas at Arlington<br>
23%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
24%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute
for Computational Engineering and Sciences (ICES), UT Austin<br>
27 verlen = length(verlen{1});
28 offset = fix((verlen - 4) / 2);
29 bannerFile = fullfile(pm.lib.path.auxil(),
".paramonte.banner");
31 str = strrep(fileread(bannerFile),
string(repmat(
' ', 1, offset)) +
"Version 0.0.0",
"Version " + pm.lib.version());
32 str = newline + strrep(str,
string(
char(13)),
"") + newline;
36 +
string(me.identifier) +
" : " +
string(me.message) + newline ...
37 +
"Failed to read the ParaMonte banner file: " ...
39 + pm.io.tab + bannerFile ...
41 +
"The integrity of the ParaMonte library has been comprised. " ...
43 +
"You can download a new or the latest version of the library from: " ...
45 + pm.io.tab + pm.web.href(
weblinks.github.releases.latest.url) ...
function version(in silent)
Return a scalar MATLAB string containing the latest available ParaMonte MATLAB version newer than the...
function banner()
Return a scalar MATLAB string containing the ParaMonte MATLAB library banner.
function lib()
Return a scalar MATLAB string containing the path to the lib directory of the ParaMonte library packa...
function weblinks()
Return a structure containing tree of weblinks for the ParaMonte MATLAB library source file and docum...