2%> Return a scalar MATLAB logical ``
true``
if and only
if the
3%> the MATLAB binary is being called from the shell command-line,
4%> in ``batch`` mode (without Graphical User Interface (GUI) interface).<br>
5%> Otherwise,
return ``
false`` implying that MATLAB GUI engine is active.<br>
8%> This functionality is important
for certain library
9%> features that require MATLAB to be called from the
10%> command-line, e.g., MPI-
parallel functionalities.<br>
13%> This function relies on functionalities
14%> that are supported only in MATLAB > 2019a.<br>
17%> ``itis`` : The output scalar MATLAB logical that is ``
true``
18%>
if and only
if ParaMonte MATLAB library is being called
19%> from MATLAB Graphical User Interface (GUI), otherwise, ``
false``.<br>
24%> itis = pm.matlab.iscmd()
29%> \include{lineno} example/matlab/
iscmd/main.m
31%> \include{lineno} example/matlab/
iscmd/main.out.m
36%> \JoshuaOsborne, May 21 2024, 11:38 PM, University of Texas at Arlington<br>
37%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
38%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute
for Computational Engineering and Sciences (ICES), UT Austin<br>
41 %%%% This error catching can be removed once
42 %%%% no MATLAB < R2019a is expected to call it.
43 %%%% ``batchStartupOptionUsed`` is introduced in R2019a and not supported in older versions of MATLAB.
44 itis = batchStartupOptionUsed;
47 itis = ~pm.matlab.isgui();
function iscmd()
Return a scalar MATLAB logical true if and only if the the MATLAB binary is being called from the she...
function parallel()
Return a scalar MATLAB logical that is true if and only if the current installation of MATLAB contain...