Connect Matlab with chatgpt

I want to make Matlab and ChatGPT interact with each other so that I can pass the code I generate through ChatGP to Matlab and simulate the code, so I need to know how to connect Matlab to ChatGPT.

Risposte (3)

Hans Scharler
Hans Scharler il 1 Giu 2024

0 voti

Try the "Large Language Models (LLMs) with MATLAB" GitHub repo. You can open directly in MATLAB Online and try it out. This requires an OpenAI API key. With this GitHub repo, you have programmatic access to the APIs hosted by OpenAI from MATLAB. Let us know what you build!
OpenAI APIs from MATLAB
Claire
Claire il 20 Mar 2025

0 voti

https://blogs.mathworks.com/matlab/2024/10/02/4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama/

Categorie

Prodotti

Release

R2023b

Richiesto:

il 26 Mar 2024

Risposto:

il 20 Mar 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by