jstaf/matlablm-systemd

A systemd service template for MATLAB's FlexLM
188 Downloads
Updated 8 Apr 2021

A systemd service template for MATLAB's FlexLM license manager. Uploading here because it's outrageous that MATLAB doesn't include one of these by default. Hopefully it proves useful for other people too. Confirmed to work on CentOS 7.
Just copy matlablm.service to /usr/lib/systemd/system/. You need to change the User bit to a normal user on the machine in question (i.e. not root). Note that this is for FlexLM installs in /usr/local/MATLAB. If installed in a different location, change the commands for ExecStop and ExecStart to the proper locations.

To start/stop FlexLM:

sudo systemctl start matlablm
sudo systemctl stop matlablm

To start on boot:

sudo systemctl enable matlablm

Cite As

Jeff Stafford (2024). jstaf/matlablm-systemd (https://github.com/jstaf/matlablm-systemd), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Introduction to Installation and Licensing in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

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.