Generation of proto and thunk files for distribution

21 views (last 30 days)
Eric
Eric on 22 Aug 2025
Answered: Umar on 1 Sep 2025 at 3:14
We are looking for the leanest way to generate prototype and thunk files for a library we distribute to Matlab users. In our CI/CD process, we use Docker containers for building our libraries and would like to include the generation of Matlab proto and thunk files in the CI/CD process. Is there a way to generate these files without a full installation of Matlab? Is there a perl script or some other mechanism supporting this process?

Answers (1)

Umar
Umar on 1 Sep 2025 at 3:14

Hi @Eric, To automate proto and thunk file generation in a CI/CD process, a headless MATLAB environment (or MATLAB Docker image) is required. No standalone scripts exist for this purpose. Scripting MATLAB commands in batch mode ensures reproducible and automated builds within your CI/CD containers.

Hope this helps.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!