Skip to content

Commit d837dec

Browse files
author
Prabhakar Kumar
committedMar 24, 2022
Bugfix: Env name updated for ML to cd anywhere
·
v0.26.0v0.2.6
1 parent c07410c commit d837dec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎matlab_proxy/app_state.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,10 @@ async def start_matlab(self, restart_matlab=False):
500500
# The matlab ready file is written into this location by MATLAB
501501
# The matlab_ready_file_dir is where MATLAB will write any subsequent logs
502502
matlab_env["MATLAB_LOG_DIR"] = str(self.matlab_ready_file_dir)
503+
# For r2020b, r2021a
503504
matlab_env["MW_CD_ANYWHERE_ENABLED"] = "true"
505+
# For > r2021b
506+
matlab_env["MW_CD_ANYWHERE_DISABLED"] = "false"
504507
if self.licensing["type"] == "mhlm":
505508
matlab_env["MLM_WEB_LICENSE"] = "true"
506509
matlab_env["MLM_WEB_USER_CRED"] = access_token_data["token"]

0 commit comments

Comments
 (0)
Please sign in to comment.