Connect Matlab with chatgpt

194 visualizaciones (últimos 30 días)
준우 김
준우 김 el 26 de Mzo. de 2024
Respondida: Claire el 20 de Mzo. de 2025
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.

Respuestas (3)

Voss
Voss el 26 de Mzo. de 2024

Hans Scharler
Hans Scharler el 1 de Jun. de 2024
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 el 20 de Mzo. de 2025
https://blogs.mathworks.com/matlab/2024/10/02/4-ways-of-using-matlab-with-large-language-models-llms-such-as-chatgpt-and-ollama/

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by