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 CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by