Connect Matlab with chatgpt

93 views (last 30 days)
준우 김
준우 김 on 26 Mar 2024
Answered: Hans Scharler on 1 Jun 2024
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.

Answers (2)

Voss
Voss on 26 Mar 2024

Hans Scharler
Hans Scharler on 1 Jun 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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!