Is there a "which" command equivalent for license information?

조회 수: 2 (최근 30일)
Bo
Bo 2018년 7월 10일
댓글: Bo 2018년 7월 11일
A group of us in my department are getting prompted to update our license information in MATLAB 2014b. I did some digging around to try and determine where my software was looking for my license file (individual user, not concurrent) in order to verify it was using the correct one. My search was mainly unsuccessful. I found several examples of "Here's where it looks by default" which is not what I wanted.
Is there a command that's equivalent to which() for license files so MATLAB will tell me a directory and file name that it's using for license information?

채택된 답변

Andreas Goser
Andreas Goser 2018년 7월 11일
In order to verify the license file I assume MATLAB uses, I would start MATLAB using the -c startup optiion, see documentation. Then you can be sure only the specified file is used.
I am however not aware of a command telling me which license file gets used. Actually it can be multiple files and based on your information, you probably found already the respective article where MATLAB looks by default and how environment variables can be used.
  댓글 수: 1
Bo
Bo 2018년 7월 11일
Andreas,
Thank you for the information. I think I'm going to submit a request to add an equivalent which() function for license files.
Have a nice morning.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by