Skip to content

Commit bfaafa5

Browse files
committed
More clean up in startup.m and setting MW_CD_ANYWHERE_ENABLED
1 parent 2f15dd3 commit bfaafa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_matlab_proxy/app_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ async def start_matlab(self, restart=False):
391391
matlab_env["MWAPIKEY"] = self.settings["mwapikey"]
392392
# TODO Make this configurable (impacts the matlab ready file)
393393
matlab_env["MATLAB_LOG_DIR"] = "/tmp"
394-
394+
matlab_env["MW_CD_ANYWHERE_ENABLED"] = "true"
395395
if self.licensing["type"] == "mhlm":
396396
matlab_env["MLM_WEB_LICENSE"] = "true"
397397
matlab_env["MLM_WEB_USER_CRED"] = access_token_data["token"]

jupyter_matlab_proxy/matlab/startup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
last_name, email_address, user_id, token, profile_id, login_level, ...
1818
remember_me, email_address, display_name);
1919
% Clear all local variables from users workspace.
20-
clear user_id first_name last_name email_address profile_id display_name token remember_me
20+
clear li login_level user_id first_name last_name email_address profile_id display_name token remember_me
2121
end
2222

2323
if (strlength(getenv('MWI_BASE_URL')) > 0)

0 commit comments

Comments
 (0)