Requirements
This library requires MATLAB version R2017a or higher, due to updates to the HTTP library that support payloads with non-200 status codes.
If you haven't signed in to your account in MATLAB yet, you will also need your MathWorks credentials to sign in (or create a free account when prompted).
Installing the MATLAB Add-On
The ONC MATLAB Client Library can be installed directly from MATLAB's Add-ons manager.
1. In the HOME tab click "Add-Ons" → "Get Add-Ons":
This will show the Add-Ons explorer.
2. In the search box in the top right corner, type "onc" and press Enter:
The first result found is typically the Oceans 3.0 API Client Library.
3. Click the link in the title to access the Add-on page.
4. In the Add-On page, click "Add from GitHub":
5. (Optional) If you haven't signed in to your MATLAB account yet, you will be prompted to do so.
6. MATLAB will require you to confirm the installation of third-party software. Click OK and the library will be installed.
7. You can close the Add-Ons manager now.
The ONC MATLAB Client Library is provided as a free, open-source package under the Simplified BSD license. The source code is hosted on GitHub as part of ONC's open-source initiative.
Troubleshooting
After installing the MATLAB Add-On, make sure it appears in the Add-On Manager: