Call Python libraries from MATLAB using the py. interface, pyrun, pyrunfile, or pyenv. Use when writing or executing MATLAB code that calls Python functions or passes data between MATLAB and Python. REQUIRED when triaging Python errors from MATLAB (ModuleNotFoundError, ImportError, "Unable to resolve the name 'py.*'"). REQUIRED when setting up Python environments for MATLAB, creating virtual environments, or installing Python packages for use with MATLAB.
$npx -y skills add matlab/matlab-agentic-toolkit --skill matlab-call-pythonInstalls into the current project.
Run `npx skills use "https://github.com/matlab/matlab-agentic-toolkit" --skill "matlab/matlab-agentic-toolkit/matlab-call-python"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/matlab/matlab-agentic-toolkit" that are relevant to the current task. Run `npx skills add "https://github.com/matlab/matlab-agentic-toolkit"` and select the relevant skills, then follow their instructions.