Hi Andrés,
I understand that you want to adapt your API calls to work with SharePoint 2019 and are encountering issues with NTLM authentication.
Previously, “webwrite” did not support NTLM authentication before MATLAB R2018a. However, it is now supported in the newer versions. Using NTLM authentication with “webwrite” should work in the above-mentioned use case. You might be encountering a 403 Forbidden error due to insufficient permissions, a locked site, or browser cache issues. Checking your permissions, unlocking the site, and clearing the cache might help resolve the issue.
To know more about “webwrite”, refer to the following MathWorks documentation link: