Simulink Functionality in Cloud Headless-Environments

10 views (last 30 days)
Hello, I was wondering about the functionality of simulink in headless environments such as the cloud. I assume it could be easily implemented, however, I'm having trouble running simulink model builds using slbuild() in the cloud. For context, I'm using bitbucket pipelines in order to run my script.
When running a script that contains slbuild() in the cloud, the pipeline hangs and freezes at the stage at which it's supposed to build the simulink model. However, when I run the same script locally in powershell, the script runs successfully. I've ensured that I have the correct toolboxes, licenses, etc.
I'd appreciate any help or insight, thanks!
  2 Comments
Mohammad
Mohammad on 25 Jun 2025
There are no errors that show up, pipeline just simply freezes. The problem also occurs when using Simulink at all in the cloud, it's not just specific to slbuild().

Sign in to comment.

Answers (1)

Mark McBroom
Mark McBroom on 15 Sep 2025
Do you have a license for Simulink, MATLAB Coder and Simulink coder for your cloud environment? https://www.mathworks.com/matlabcentral/answers/285496-how-do-i-view-what-toolboxes-i-have-for-my-license

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!