2%> Remove all paths that contain the ParaMonte
3%> ``
lib`` directory from the MATLAB ``path`` variable.
6%> This action is particularly vital
for correct handling
7%> of MATLAB MEX files
for different build configurations.
19%> \JoshuaOsborne, May 21 2024, 7:31 PM, University of Texas at Arlington<br>
20%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
21%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute
for Computational Engineering and Sciences (ICES), UT Austin<br>
23 libpath = pm.
lib.path.
lib();
24 pathlist = strsplit(
string(path), pathsep);
25 for ipath = 1 : length(pathlist)
26 if contains(pathlist{ipath}, libpath)
27 rmpath(pathlist{ipath});
function clean()
Remove all paths that contain the ParaMonte lib directory from the MATLAB path variable.
function lib()
Return a scalar MATLAB string containing the path to the lib directory of the ParaMonte library packa...