How to install 'FMU Builder' in Docker Container?

Hello, I'm trying to export FMU from the Simulink Model in Docker Container.
I actually did it without any problem until I used R2022b Matlab/Simulink, but when I tried with R2024b I got an error:
"FMU export requires FMU Builder for Simulink Support Package"
And I realized I need additional Add-on (FMU Builder) from R2023b Matlab/Simulink.
Installing 'FMU Builder' can be easily done in MS Windows (using Add-on Explorer), but it's totally different story for Docker Container environment.
I want to build a Docker Image which supports FMU creation under the conditions below:
  1. (Of course) I have 'Simulink Compiler' license.
  2. I want to build a Docker Image from the scratch (Using ubi Image, Not using the Image provided by Mathworks, because I have some dependencies to be installed)
  3. I want to use Matlab/Simulink installation file (*.iso) downloaded from Mathworks website (Not using MPM, because of the network constraints)
I wonder how to install 'FMU Builder' satisfying all the conditions above,
becuase the only way I found until now, is to install Matlab/Simulink with MPM when I build a Docker Image.
But this is against one of the conditions.
I also found the help page:
This help doc explains how to install Add-on using .mltbx file format,
but when I download FMU Builder:
I only got 'fmubuilder.mlpkginstall', not .mltbx file, and I have no idea where to get .mltbx file for FMU Builder.
Anyone can help about this issue?
Thank you!

Respuestas (1)

Ivy
Ivy el 29 de En. de 2026

0 votos

Hi Hyuntae,
You should be able to use MPM even if docker container does not have internet.
You'd need to run mpm download first to download the FMU (and also, with MATLAB and toolboxes if you would prefer not using the ISO) and then mpm install. I suppose it'd be more space-efficient if you were to use MPM for all installations because the ISO is huge.
If you absolutely prefer not using MPM, you'd need to use the Support Software Downloader to download the FMU support package, move it into the container and do a silent installation, here are the articles:
You will need to follow the second article on how to silently install using SupportSoftwareInstaller, because the first one will try to open up a GUI which wouldn't work if the container is headless. FYI, this only works up to R2024b, for R2025a and newer, MPM is needed since SupportSoftwareInstaller is not shipped in these newer releases.
Also, .mlpkginstall files are not for offline installation, afaik they're just a file that when you run, they open MATLAB along with the Add-ons explorer and navigate to the support package page.
And, if you want a more precise answer, it is best to contact MathWorks Support.

Categorías

Productos

Versión

R2024b

Preguntada:

el 29 de En. de 2026

Respondida:

Ivy
el 29 de En. de 2026

Community Treasure Hunt

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

Start Hunting!

Translated by