pyargs
ffi · scripts/ffi/pyargs.m
PYARGS Package keyword arguments for a py.* call (MATLAB R2026a).
A = pyargs ('name1', value1, 'name2', value2, ...)
Pass A as a trailing argument to a Python function through the py.
bridge, for example:
py.numpy.arange (0, 10, pyargs ('step', 2))
py.re.sub (p, r, s, pyargs ('flags', f))
Names must be char or string. An odd number of inputs is an error.
class (A) is 'pyargs'. The bridge reads the keyword pairs from A;
callers should not mutate the object.
Reference: MATLAB R2026a pyargs. Full in-process CPython objects
come from the Python front end (pyenv / nexus#1107); this classdef
feeds the matlab_compat py. subprocess shim.