Quix enables developers to run MATLAB code in real-time streaming pipelines.
This repository brings together different integration options, depending on your needs and MATLAB version.
MATLAB is a powerful environment for numerical computing, but deploying MATLAB functions into streaming pipelines is not always straightforward. With Quix, you can:
- Stream input data from Kafka topics
- Run MATLAB code in real time
- Publish transformed results back to Kafka
We provide three templates, showcasing two different integration strategies:
-
MATLAB Wheel Template
Recommended. Compile MATLAB functions into Python-compatible.whl
packages and run them seamlessly inside Quix. -
MATLAB Engine 2023b | 2025a
Run MATLAB functions directly in Quix using a MATLAB Engine instance. Examples provided both for 2023b and 2025a versions.
Method | Advantages | Disadvantages |
---|---|---|
MATLAB Wheel | - Compiles MATLAB code into Python (.whl ) → portable- No MATLAB license needed at runtime (only at build) - Lightweight deployment in Quix |
- Extra build step needed (altough made easy with quix_compiler.m ) |
MATLAB Engine | - Directly runs .m files without extra build step- Closer to MATLAB environment (no translation) - Easier when iterating and testing |
- Requires MATLAB license server in runtime - Heavier runtime footprint - Harder to deploy in lightweight/cloud-native scenarios |
We welcome contributions!
- Submit forked projects to the Quix GitHub repo.
- Accepted projects will be attributed to you and you’ll receive $200 in Quix credit. 🎉
This project is open source under the Apache 2.0 license.
⭐ Please star us and mention us on social to show your appreciation.