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:
Insert the following after the function declaration:
Hope this helps!