Go to the source code of this file.
|
function | mexdir (in mexname, in config) |
| Return the vector of MATLAB strings containing the directory path(s) containing the specified ParaMonte library MEX shared file.
More...
|
|
◆ mexdir()
function mexdir |
( |
in |
mexname, |
|
|
in |
config |
|
) |
| |
Return the vector of MATLAB strings containing the directory path(s) containing the specified ParaMonte library MEX shared file.
- Parameters
-
[in] | mexname | : The input scalar MATLAB string containing the (partial) name of a MEX file name without MEX extension.
(optional. If missing, all detected paths will be returned.) |
[in] | config | : The input scalar (or vector of) MATLAB string(s) containing the (set of) keyword(s) to match in the identified MEX files paths.
(optional. If missing, all detected paths will be returned.) |
- Returns
mexdirs
: The output vector of MATLAB strings containing the unique directory path(s) to the ParaMonte library MEX shared files.
The output mexdirs
will be an empty list if no such paths are found.
Possible calling interfaces ⛓
mexdirs = pm.lib.path.mexdir()
mexdirs = pm.lib.path.mexdir([])
mexdirs = pm.lib.path.mexdir([], [])
mexdirs = pm.lib.path.mexdir(mexname)
mexdirs = pm.lib.path.mexdir([], config)
mexdirs = pm.lib.path.mexdir(mexname, [])
mexdirs = pm.lib.path.mexdir(mexname, config)
Example usage ⛓
1cd(fileparts(mfilename(
'fullpath'))); % Change working directory to source code directory.
2addpath(
'../../../../'); % Add the ParaMonte library
root directory to the search path.
5disp(
'pm.lib.path.mexdir()')
21disp('pm.
lib.path.
mexdir("sampling", ["native", "gnu"])')
22disp( pm.
lib.path.
mexdir("sampling", ["native", "gnu"]) )
25disp('pm.
lib.path.
mexdir("sampling", ["native", "GNU"])')
26disp( pm.
lib.path.
mexdir("sampling", ["native", "GNU"]) )
29disp('pm.
lib.path.
mexdir("sampling", ["native", "Intel"])')
30disp( pm.
lib.path.
mexdir("sampling", ["native", "Intel"]) )
function lib()
Return a scalar MATLAB string containing the path to the lib directory of the ParaMonte library packa...
function mexdir(in mexname, in config)
Return the vector of MATLAB strings containing the directory path(s) containing the specified ParaMon...
function release(in type)
Return a scalar MATLAB string containing the MATLAB release version, year, or season as requested.
function root()
Return a scalar MATLAB string containing the root directory of the ParaMonte library package.
Example output ⛓
2/
home/amir/git/paramonte/external/paramonted/doxygen/bld/linux/amd64/csid/csvs/native/
lib/mem/serial/matlab/checking/pkg/+pm/
lib/linux/amd64/gnu13/
release/shared/heap/serial/nocheck
3pm.lib.path.mexdir(
"sampling")
4/
home/amir/git/paramonte/external/paramonted/doxygen/bld/linux/amd64/csid/csvs/native/
lib/mem/serial/matlab/checking/pkg/+pm/
lib/linux/amd64/gnu13/
release/shared/heap/serial/nocheck
5pm.lib.path.mexdir(
"sampling",
"release")
6/
home/amir/git/paramonte/external/paramonted/doxygen/bld/linux/amd64/csid/csvs/native/
lib/mem/serial/matlab/checking/pkg/+pm/
lib/linux/amd64/gnu13/
release/shared/heap/serial/nocheck
7pm.lib.path.mexdir(
"sampling", [
"release",
"GNU"])
8pm.lib.path.mexdir(
"sampling", [
"native",
"gnu"])
9pm.lib.path.mexdir(
"sampling", [
"native",
"GNU"])
10pm.lib.path.mexdir(
"sampling", [
"native",
"Intel"])
function home()
Return a MATLAB string containing the absolute path to the system home directory.
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.
-
If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
-
If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.
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.
- Copyright
- Computational Data Science Lab
- Author:
- Joshua Alexander Osborne, May 21 2024, 7:50 PM, University of Texas at Arlington
Fatemeh Bagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.
Amir Shahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin