ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
lib.m
Go to the documentation of this file.
1%> \brief
2%> Return a scalar MATLAB string containing the path to
3%> the ``lib`` directory of the ParaMonte library package.
4%>
5%> \return
6%> ``path`` : The output scalar MATLAB string containing the path to
7%> the ``lib`` directory of the ParaMonte library package.
8%>
9%> \interface{lib}
10%> \code{.m}
11%>
12%> path = pm.lib.path.lib();
13%>
14%> \endcode
15%>
16%> \example{lib}
17%> \include{lineno} example/lib/path/lib/main.m
18%> \output{lib}
19%> \include{lineno} example/lib/path/lib/main.out.m
20%>
21%> \final{lib}
22%>
23%> \author
24%> \JoshuaOsborne, May 21 2024, 7:39 PM, University of Texas at Arlington<br>
25%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
26%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
27function path = lib()
28 persistent path_persistent
29 if isempty(path_persistent)
30 path_persistent = string(fullfile(pm.lib.path.root(), "lib"));
31 end
32 path = path_persistent;
33end
function lib()
Return a scalar MATLAB string containing the path to the lib directory of the ParaMonte library packa...
function root()
Return a scalar MATLAB string containing the root directory of the ParaMonte library package.