How test the presence of a toolbox

4 ビュー (過去 30 日間)
Martin
Martin 2013 年 6 月 24 日
Hi!
I would like in my program to test if the user has a statistical toolbox (Statistics_Toolbox). If so, it would use a precise Matlab function, if not an approached one programmed by myself. Do you know if it's possible?
Thanks!
Martin

回答 (2 件)

Jan
Jan 2013 年 6 月 24 日
V = ver;
VName = {V.Name};
any(strcmp(VName, 'Statistics Toolbox'))
  1 件のコメント
Martin
Martin 2013 年 6 月 24 日
Thanks Jan for your answer. My question was not precise enough though; I actually wanted to test about the possession of the toolbox's license, not only if the toolbox was installed.
Thanks,
Martin

サインインしてコメントする。


Lokesh Ravindranathan
Lokesh Ravindranathan 2013 年 6 月 24 日
This solution http://www.mathworks.com/support/solutions/en/data/1-G5BY2M/index.html?product=SL&solution=1-G5BY2M is relevant for checking the possession of a toolbox license.
  2 件のコメント
Martin
Martin 2013 年 6 月 25 日
Thank you very much.
Lokesh Ravindranathan
Lokesh Ravindranathan 2013 年 6 月 26 日
Martin, could you accept the answer? This would help the person searching for the same question.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by