Tool Licenses
显示 更早的评论
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.8.0.347 (R2009a)
MATLAB License Number: ############# [SCD censor]
Operating System: Linux 2.6.9-89.EL #1 Mon Jun 22 12:18:19 EDT 2009 x86_64
Java VM Version: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.8 (R2009a)
Simulink Version 7.3 (R2009a)
Communications Blockset Version 4.2 (R2009a)
Communications Toolbox Version 4.3 (R2009a)
Filter Design Toolbox Version 4.5 (R2009a)
Fixed-Point Toolbox Version 2.4 (R2009a)
Image Processing Toolbox Version 6.3 (R2009a)
Signal Processing Blockset Version 6.9 (R2009a)
Signal Processing Toolbox Version 6.11 (R2009a)
Statistics Toolbox Version 7.1 (R2009a)
Video and Image Processing Blockset Version 2.7 (R2009a)
I typed ver and got the above. Do I have all the toolboxes licenses? If not, how to find which licenses I have?
回答(3 个)
Paulo Silva
2011-2-17
a=ver;
fprintf('Toolbox Name,License Status (1 is licensed, 0 isnt licensed)\n')
for b=1:numel(a)
try
fprintf('%s,%d\n',a(b).Name,license('test',a(b).Name));
catch
%for some stupid reason it fails in this case
%??? Error using ==> license
%Feature name must be less than 28 characters.
fprintf('%s,Unknown\n',a(b).Name);
end
end
2 个评论
Andreas Goser
2011-2-17
I tested this code and it fails for me. I see the reason in the fact that the LICENSE command needs slightly differnt name than VER returns. Example:
license('test','Aerospace Blockset') % always 0
license('test','Aerospace_Blockset') % depends whether you have it...
Andreas Goser
2011-2-17
If you can ask the question "What are all the toolboxes names for use with the LICENSE command, that would be great (and I would respond).
Walter Roberson
2011-2-17
0 个投票
You appear to have all of those toolboxes installed and matching your Matlab version. Sometimes if you have a toolbox installed but not licensed, ver() can tell you that. Sometimes though, for unknown reasons, it cannot tell. If you are using a shared license then you might not have consistent access to the toolboxes.
Generally, license('test',...) can tell you whether you have access to a given toolbox. I do not know the official names of the toolboxes for this purpose, though.
Andreas Goser
2011-2-17
0 个投票
Ultimately, only the administrator of your license in your company can tell you. That s for a couple of reasons:
1. As other pointed out, you may have tools legitimally installed, but not licensed.
2. This is a concurrent license. You may have not been included into an eligible user gruop by your administrator.
3. You may are enttitled, but all keys are used by others
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!