FileHandlers that make calls to MATLAB in order to generate their data. You
will need to specify the directory containing MATLAB functions to call with the
A class that is generated by calling a MATLAB function. The generator just calls the matlab function specified by the
matlab_commandproperty using MATLAB command-line options specified by
Return the command that MATLAB will eval in order to generate this file.
Run a command in a headless instance of MATLAB. By default, changes to the Neutrinos directory of the repo directory, which is where all LLAMA MATLAB code is currently stored. NOTE that your command can have multiple statements, but it CANNOT have newlines; it must have semicolons separating valid statements (See example below).
You can also provide a list of command line flags like “-nojvm” to modify MATLAB’s behavior. This implementation will be removed if we switch to MATLAB Engine, since MATLAB is not called through the command line interface when using the MATLAB Engine interface.
Print “foo” and “bar” on separate lines, checking first if MATLAB is installed: >>> try: … matpath = matlabpath() … matlab_eval(“disp(‘foo’);disp(‘bar’)”) … except OSError: … # put your cleanup code here … pass
Get a path to a
matlabexecutable (if it exists). If something called
matlabis in your
$PATH, this will be used. Otherwise, if you have specified
$MATLAB_EXECUTABLE_PATHas an environmental variable, that path will be used. If both of these checks fail, the most recent version of
MATLABmatching the pattern
/Applications/MATLAB_R20*.app/bin/matlabwill be used (only applicable on MacOS).