Connect Matlab with chatgpt

77 次查看(过去 30 天)
준우 김
준우 김 2024-3-26
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.

回答(2 个)

Voss
Voss 2024-3-26

Hans Scharler
Hans Scharler 2024-6-1
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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by