Large Language Models (LLMs) with MATLAB
Version 4.6.0 (34.4 MB) by
MathWorks Text Analytics Toolbox Team
Connect MATLAB to Ollama™ (for local LLMs), OpenAI® Chat Completions API (which powers ChatGPT™), and Azure® OpenAI Services
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
MathWorks Text Analytics Toolbox Team (2026). Large Language Models (LLMs) with MATLAB (https://github.com/matlab-deep-learning/llms-with-matlab/releases/tag/v4.6.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with R2024a and later releases
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
+llms
+llms/+azure
+llms/+internal
+llms/+openai
+llms/+stream
+llms/+utils
tests
tests/private/recording-doubles
tests/private/recording-doubles/+llms/+internal
tests/private/replaying-doubles
tests/private/replaying-doubles/+llms/+internal
examples/mlx-scripts
Versions that use the GitHub default branch cannot be downloaded
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
