Why does Simulink crash when opening a model with LM_LICENSE_FILE environment variable set?

조회 수: 32 (최근 30일)
Why does Simulink crash when opening a model with LM_LICENSE_FILE environment variable set?
 

채택된 답변

MathWorks Support Team
MathWorks Support Team 2024년 1월 18일
If you are experiencing a crash when opening a blank model in Simulink it might be caused by the enviroment variable LM_LICENSE_FILE being set on your machine for another vendors software, such as Xilinx or Cadence. In order to confirm LM_LICENSE_FILE is causing the crash you can either try unsetting it temporarily or use a -c startup flag to bypass MathWorks products from reading the environment variable.
Launch with -c:
"C:\Program Files\MATLAB\R2022a\bin\matlab.exe" -c "C:\Program Files\MATLAB\R2022a\licenses\network.lic"
The recommended long term work around is to use the vendor specific environment variable to point to a license manager for all software instead of LM_LICENSE_FILE. For example, the MathWorks software vendor specific environment variable is: 
MLM_LICENSE_FILE = "C:\Program Files\MATLAB\R2022a\licenses\network.lic"
OR
MLM_LICENSE_FILE = port@host

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by