nstat.get_matlab_nstat_path

nstat.get_matlab_nstat_path()[source]

Resolve the path to the MATLAB nSTAT repo containing .slx models.

Resolution order:

  1. NSTAT_MATLAB_PATH environment variable

  2. A sibling nSTAT/ directory relative to the Python repo root

  3. None (not found)

Return type:

Path | None