Skip to content

nexus_pyrun_wrap_outputs

matlab_compat · scripts/matlab_compat/nexus_pyrun_wrap_outputs.m

NEXUS_PYRUN_WRAP_OUTPUTS  Map pyrun/pyrunfile JSON vars to MATLAB values.

 Internal helper (nexus#1683 / nexus#2308).  Conversion matches MATLAB
 R2026a for the documented cases: list -> py.list, dict -> py.dict,
 float -> double, bool -> logical, str -> py.str,
 int -> double when exact in float64 (else py.int),
 None -> py.NoneType, numpy.ndarray -> native numeric array.