Skip to content

Commit 0173af7

Browse files
committed
v0.5.7: Use localhost instead of 0.0.0.0 and update licensing readmes to exclude SMS clause
1 parent 133bb60 commit 0173af7

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

MATLAB-Licensing-Info.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,22 @@ When starting MATLAB through this integration, you are presented with a user int
99
<img width="400" src="img/licensing_GUI.png">
1010
</p>
1111

12-
To choose the right option, determine what MATLAB licenses you have access to. Your license must be current on [MathWorks® Software Maintenance Service](https://www.mathworks.com/services/maintenance.html). 
13-
14-
15-
16-
If you are an academic user, you can use [this tool](https://www.mathworks.com/licensecenter/licenses/add) to determine if you have access to a campus-wide license through your institution. Otherwise, to see the licenses linked to your account, log in to your MathWorks account and go to [License Center](https://www.mathworks.com/licensecenter/?s_tid=hp_ff_s_license). You can link your MathWorks account with a license using [this tool](https://www.mathworks.com/licensecenter/licenses/add).
17-
12+
To choose the right option, determine what MATLAB licenses you have access to.
1813

14+
If you are an academic user, you can use [this tool](https://www.mathworks.com/academia/tah-support-program/eligibility.html) to determine if you have access to a campus-wide license through your institution. Otherwise, to see the licenses linked to your account, log in to your MathWorks account and go to [License Center](https://www.mathworks.com/licensecenter/?s_tid=hp_ff_s_license). You can link your MathWorks account with a license using [this tool](https://www.mathworks.com/licensecenter/licenses/add).
1915

2016
Based on the license that you want to use, you can follow the procedures outlined in the table below to setup the MATLAB licensing for this integration.
2117

22-
2318
| License Type | Procedure |
2419
| ------ | ------ |
25-
| Individual (that only you use and is in your name; not a Home or Student) | Your license is already configured for use with MATLAB Proxy. Using the _Online License Manager_ tab, enter the credentials to your MathWorks account to get started. |
20+
| Individual, Home or Student (that only you use and is in your name) | Your license is already configured for use with MATLAB Proxy. Using the _Online License Manager_ tab, enter the credentials to your MathWorks account to get started. |
2621
| Campus-Wide License | Your license is already configured for use with MATLAB Proxy. Using the _Online License Manager_ tab, enter the credentials to your MathWorks account to get started. |
27-
| Home and Student (that only you use and is in your name) | These license types are not supported for use with MATLAB Proxy. |
2822
| Concurrent and Network Named User | Using the _Network License Manager_ tab, enter the address to your organization’s network license manager. You can contact your license administrator* to find the address for the network license manager. |
2923

30-
3124
*Not sure who the license administrator is? Sign in to your [MathWorks Account](https://www.mathworks.com/mwaccount/), click the license you are using, then click the tab marked “Contact Administrators”.
3225

3326
**For Administrators**
3427

35-
3628
| Scenario | License Type | Procedure |
3729
| ------ | ------ | ------ |
3830
| You want your users to use online licensing | Campus-Wide, Individual | These licenses are already configured for use with MATLAB Proxy. When starting MATLAB, an end user will need to log in to their MathWorks account to use the license linked to it. |

matlab_proxy/app_state.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,15 @@ def create_server_info_file(self):
503503
self.mwi_server_session_files["mwi_server_info_file"] = mwi_server_info_file
504504
logger.debug(f"Server info stored into: {mwi_server_info_file}")
505505

506+
# By default mwi_server_url usually points to 0.0.0.0 as the hostname, but this does not work well
507+
# on some browsers. Specifically on Safari (MacOS)
506508
logger.info(
507509
util.prettify(
508510
boundary_filler="=",
509511
text_arr=[
510512
f"MATLAB can be accessed at:",
511-
self.settings["mwi_server_url"] + mwi_auth_token_str,
513+
self.settings["mwi_server_url"].replace("0.0.0.0", "localhost")
514+
+ mwi_auth_token_str,
512515
],
513516
)
514517
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def run(self):
6666

6767
setuptools.setup(
6868
name="matlab-proxy",
69-
version="0.5.6",
69+
version="0.5.7",
7070
url=config["doc_url"],
7171
author="The MathWorks, Inc.",
7272
author_email="[email protected]",

0 commit comments

Comments
 (0)