matflow.environments.env_configure_matlab#

matflow.environments.env_configure_matlab(shell, setup=None, matlab_path=None, matlab_runtime_path=None, mtex_path=None)#

Configure the MATLAB MatFlow environment.

Different environment executables are configured depending on what arguments are provided:

  1. If matlab_path and mtex_path are specified, then the run_mtex executable is configured.

  2. If mcc_path and mtex_path are specified, then the compile_mtex and run_compiled_mtex executables are configured.

  3. If matlab_runtime_path is specified, the run_precompiled_mtex executable is configured. Note that if matlab_path is specified, matlab_runtime_path will by default be set to the value of matlab_path.

Parameters:
  • shell (Literal['bash', 'powershell']) –

  • setup (str | list[str] | None) –

  • matlab_path (str | None) –

  • matlab_runtime_path (str | None) –

  • mtex_path (str | None) –

Return type:

Environment