MATLAB Answers

Why is MATLAB using my network?

38 views (last 30 days)
Chad Greene
Chad Greene on 7 Jul 2020 at 21:08
Commented: Chad Greene on 14 Jul 2020 at 1:58
I'm using a wifi hotspot and I want to minimize my data usage. Unfortunately, whenever I have MATLAB R2019b open, it seems to be sending and receiving more data than all the tabs I have open in Firefox.
First question: Am I interpreting my Activity Monitor correctly? Is MATLAB in fact the major culprit of my data usage?
Second question: Why is MATLAB sending and receiving data?
Third question: Is there a way to disable network usage?

  0 Comments

Sign in to comment.

Accepted Answer

Gouri Chennuru
Gouri Chennuru on 10 Jul 2020 at 12:37
Hi Chad,
The "matlabrc.m" file will run the "startup.m" file so this can be in few cases where it uses the network. "matlabrc" also initializes the path, so this issue could be caused by the presence of network files on the path (which requires internet connection).
Also, while dealing with webaccess in matlab you require internet connection.
Network-based MATLAB licenses, such as Network Concurrent and Network Named User do not require an internet connection to run MATLAB but do require a connection to the license manager server on the local network in order to access the license.
The only license types which require an internet connection are:
  • Online Licensing
  • Login Named User
Refer to this link for more information
The "Web” launches the internet browser by using the WEB function in MATLAB. You can disable this option by editing WEB accordingly:
edit web
Insert the following after the function declaration:
return
Hope this helps!

  1 Comment

Chad Greene
Chad Greene on 14 Jul 2020 at 1:58
These are helpful suggestions, thanks Gouri!

Sign in to comment.

More Answers (0)

Products


Release

R2019b