Exclude a specific Matlab version

2 views (last 30 days)
Rusty
Rusty on 8 Apr 2015
Commented: Andreas Goser on 13 Apr 2015
Is there a way with in the mlm.opt file to exclude a specific version of Matlab from getting a license. Specifically I want to prevent any user from running Matlab R2011b.
Thanks in advance, Rusty

Answers (1)

Image Analyst
Image Analyst on 8 Apr 2015
Perhaps this snippet will help you:
mainMatlabVersion = version
toolboxes = ver
for t = 1 : length(toolboxes)
% List properties of all toolboxes
fprintf('%s, %s, %s, %s\n', ...
toolboxes(t).Name, ...
toolboxes(t).Version, ...
toolboxes(t).Release, ...
toolboxes(t).Date);
end
  1 Comment
Andreas Goser
Andreas Goser on 13 Apr 2015
This appears to be MATLAB code, but the user asks for prohibiting this on the FLEXnet level.
I am very interested about the use case and will contact the user directly.

Sign in to comment.

Categories

Find more on Manage Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!