Hello Bill Plumb,
From what I understand, you are trying to use the “openExample” function on a MATLAB instance running on a secure server and the function is not working.
The “openExample” function opens the existing version of the example if a copy exists locally or else it downloads the specified example into a subfolder and then opens it. To download, the MATLAB instance needs to communicate with the MathWorks servers.
To resolve this issue, if your organisation is running a network firewall, you will need to contact your IT Help Desk to configure the firewall to bypass the following ports and addresses:
- mathworks.com
- licensing.mathworks.com
- login.mathworks.com
- services.mathworks.com
- TCP ports 80 and 443
If the server is completely offline and isolated from the internet, you will need to download the files on another system with internet connection either using a local installation or MATLAB Online.
- On a local MATLAB instance on a system connected to the internet, run “openExample('5g/EVMMeasurementOf5GNRPUSCHWaveformsExample')”. This will download the files and change your current directory to the download location of the files.
- On MATLAB Online, run “openExample('5g/EVMMeasurementOf5GNRPUSCHWaveformsExample')”. You can then zip the example folder and download it.
For further understanding, I suggest you refer to the following MathWorks Documentation and resources:
- Thread describing fixes for connection errors with MathWorks servers: https://www.mathworks.com/support/search.html/answers/92634-why-do-i-get-a-connection-error-when-installing-or-activating-matlab-or-other-mathworks-products.html
I hope you find the above explanation and suggestions useful!