AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Connect AI to your tools

MATLAB to Python bridge

Say which Python library you need. Get MATLAB code that calls it, with setup and errors fixed.

MATLAB to Python bridge is a free AI skill for the job "Connect AI to your tools". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · BSD 2 Clause licence · Made by MathWorks

Made by MathWorks. See the original on GitHub; we copied it as it is, with its licence.

What it does

MATLAB code that calls a Python library and works, with the setup problems fixed. Tell it which library you need, such as pandas or scikit-learn, and it writes the calls and gets the environment right. It follows firm rules. It never uses pyargs or pyversion, runs pip installs and virtual environment steps in the shell, and always asks before it ends a running Python session. It wraps numbers in integer types where Python expects whole numbers, and uses string arrays on newer releases. When a run fails it sorts the error: a missing module, an unresolved py name, an empty Python path, or an unsupported environment. Each type has its own fix. You need MATLAB and a Python install.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run MATLAB and Python.

More for Connect AI to your tools

Every connect ai to your tools skill